#061237#061237

#061237 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.074 H 265.6°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#061237
RGBrgb(6, 18, 55)
HSLhsl(225, 80%, 12%)
HSVhsv(225, 89%, 22%)
CMYKcmyk(89.1%, 67.3%, 0%, 78.4%)
CIE-LABlab(6.75, 10.80, -25.60)
CIE-LCHlch(6.75, 27.78, 292.88°)
OKLaboklab(19.96% -0.0057 -0.0742)
OKLCHoklch(19.96% 0.074 265.6)
XYZxyz(0.9808, 0.7471, 3.7062)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061237 #372B06
analogous
#062B37 #061237 #130637
triadic
#061237 #370612 #123706
tetradic
#061237 #37062B #372B06 #063713
square
#061237 #37062B #372B06 #063713
split-complementary
#061237 #371306 #2B3706
monochromatic
#03091C #03091C #061237 #0C246E #1236A5

Accessibility & contrast

On white

18.27
#061237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#061237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061237
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061237#FFFFFF#000000##FFFFFF
##0612371.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061237;
/* rgb */ color: rgb(6, 18, 55);
/* oklch */ color: oklch(20.0% 0.074 265.6);
Tailwind
colors: {
  custom: {
    50: '#4f4f6e',
    500: '#061237',
    950: '#000000',
  },
}
SCSS
$custom: #061237;
$custom-light: #4f4f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#061237",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 225.306,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19959,
    "c": 0.07447,
    "h": 265.6
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#061237
secondary
#776221
accent
#C631F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #061237

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#061237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva