#061239#061239

#061239 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.078 H 265.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#061239
RGBrgb(6, 18, 57)
HSLhsl(226, 81%, 12%)
HSVhsv(226, 89%, 22%)
CMYKcmyk(89.5%, 68.4%, 0%, 77.6%)
CIE-LABlab(6.92, 11.82, -26.76)
CIE-LCHlch(6.92, 29.25, 293.84°)
OKLaboklab(20.17% -0.0056 -0.0776)
OKLCHoklch(20.17% 0.078 265.9)
XYZxyz(1.0297, 0.7666, 3.9638)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061239 #392D06
analogous
#062C39 #061239 #130639
triadic
#061239 #390612 #123906
tetradic
#061239 #39062C #392D06 #063913
square
#061239 #39062C #392D06 #063913
split-complementary
#061239 #391306 #2C3906
monochromatic
#03091C #03091C #061239 #0C2370 #1235A8

Accessibility & contrast

On white

18.21
#061239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061239
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061239#FFFFFF#000000##FFFFFF
##0612391.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061239;
/* rgb */ color: rgb(6, 18, 57);
/* oklch */ color: oklch(20.2% 0.078 265.9);
Tailwind
colors: {
  custom: {
    50: '#4f4f70',
    500: '#061239',
    950: '#000000',
  },
}
SCSS
$custom: #061239;
$custom-light: #4f4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#061239",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 225.882,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20167,
    "c": 0.07777,
    "h": 265.9
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#061239
secondary
#796522
accent
#C930F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #061239

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

Preview Lab → · Contrast checker → · Palette generator →

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