Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
首页/颜色/#040857

最接近的命名颜色 · #040857

#040857

最接近的命名颜色: Ravenclaw

#040857(rgb(4 8 87)、hsl(237 91% 18%)、oklch(0.221 0.133 266.5))最接近命名颜色 Ravenclaw。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。

What does Blue mean? →

#040857

oklch(0.221 0.133 266.5)

颜色转换

HEX
#040857
RGB
rgb(4 8 87)
HSL
hsl(237 91% 18%)
HWB
hwb(237 2% 66%)
OKLCH
oklch(0.221 0.133 266.5)
OKLab
oklab(0.221 -0.008 -0.133)
CIE Lab
lab(7.04 25.8 -47.45)
LCH
lch(7.04 54.01 298.5)
CMYK
cmyk(95% 91% 0% 66%)

浅色调 · 深色调 · 灰色调

浅色调

  • 122568
  • 273D79
  • 3E548A
  • 576B9B
  • 7183AC
  • 8C9BBD
  • A7B3CD
  • C4CCDE
  • E1E5EE

深色调

  • 03064B
  • 02043E
  • 010333
  • 010227
  • 00011C
  • 000112
  • 000008
  • 000003
  • 000000

灰色调

  • 0A195C
  • 142761
  • 203366
  • 2D3E6B
  • 3A496F
  • 475473
  • 555F77
  • 636A7A
  • 71757D

配色和谐

互补色 +180°

  • 040857

    Ravenclaw

  • 241900

    ≈ Cannon Black

类似色 -30° +30°

  • 040857

    Ravenclaw

  • 001E2E

    ≈ Cyanophobia

  • 23004A

    ≈ Your Darkness

三角配色 +120° +240°

  • 040857

    Ravenclaw

  • 3B0002

    ≈ Dark Maroon

  • 002206

    ≈ Rainforest Nights

分裂互补色 +150° +210°

  • 040857

    Ravenclaw

  • 2D1300

    ≈ Shadow Play

  • 191D00

    ≈ Yuzu Soy

四角配色 +90° +180° +270°

  • 040857

    Ravenclaw

  • 37001C

    ≈ Rhodophobia

  • 241900

    ≈ Cannon Black

  • 00211A

    ≈ Stellar Explorer

对比度与无障碍

Ag

白底

WCAG 17.83:1 · APCA Lc 104

AAA
Ag

黑底

WCAG 1.17:1 · APCA Lc 0

Fail

最佳文字颜色: #FFFFFF

WCAG 17.83:1 (AAA) · APCA Lc 104

Contrast pairs

  • #040857 / #FFFFFF
  • #040857 / #000000
  • #FFFFFF / #040857
  • #000000 / #040857

代码片段

CSS

:root {
  --ravenclaw: #040857;
  --ravenclaw-rgb: 4 8 87;
  --ravenclaw-oklch: oklch(0.221 0.133 266.5);
}

.element {
  color: var(--ravenclaw);
  background-color: hsl(237 91% 18%);
  border-color: oklch(0.221 0.133 266.5);
}

Tailwind CSS v4

@theme {
  --color-ravenclaw: #040857;
  --color-ravenclaw-50: #e5f5ff;
  --color-ravenclaw-100: #d5e7ff;
  --color-ravenclaw-200: #bcd3ff;
  --color-ravenclaw-300: #9bb5fc;
  --color-ravenclaw-400: #7a9bed;
  --color-ravenclaw-500: #5d81de;
  --color-ravenclaw-600: #4f6dbb;
  --color-ravenclaw-700: #3f5797;
  --color-ravenclaw-800: #2b4070;
  --color-ravenclaw-900: #1d2c4f;
  --color-ravenclaw-950: #0d1935;
}

SCSS

$ravenclaw: #040857;
$ravenclaw-rgb: 4, 8, 87;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);

.element {
  color: $ravenclaw;
  box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}

相近的命名颜色

  • 0A0555

    Ravenclaw

  • 00035B

    Abyssal Blue

  • 001155

    Interstellar Blue

  • 0B085F

    Prussian Nights

  • 000055

    Alucard’s Night

  • 110055

    Scoop of Dark Matter

  • 030764

    D. Darx Blue

  • 111155

    Shadowdancer

  • 0F084B

    Silent Twilight

  • 000066

    Alone in the Dark

  • 110066

    The Vast of Night

  • 150F5B

    Space Colonisation

Palettes with similar colors

  • Deep Alone in the Dark PulseViolet · Cold
  • Deep Dying Storm Blue QuartzViolet · Cold
  • Azure ForgeViolet · Cold
  • Shadow Interstellar Blue PrismViolet · Cold
  • Neon Bluerocratic HarborViolet · Cold
  • Deep Alone in the Dark DriftViolet · Cold

在工具中打开

取色器配色组合对比度检测StudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA