#061234#061234

#061234 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.069 H 265.1°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#061234
RGBrgb(6, 18, 52)
HSLhsl(224, 79%, 11%)
HSVhsv(224, 88%, 20%)
CMYKcmyk(88.5%, 65.4%, 0%, 79.6%)
CIE-LABlab(6.50, 9.24, -23.81)
CIE-LCHlch(6.50, 25.54, 291.21°)
OKLaboklab(19.65% -0.0059 -0.0692)
OKLCHoklch(19.65% 0.069 265.1)
XYZxyz(0.9110, 0.7192, 3.3389)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061234 #342806
analogous
#062934 #061234 #110634
triadic
#061234 #340612 #123406
tetradic
#061234 #340629 #342806 #063411
square
#061234 #340629 #342806 #063411
split-complementary
#061234 #341106 #293406
monochromatic
#03091B #03091B #061234 #0C256B #1338A2

Accessibility & contrast

On white

18.36
#061234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#061234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061234
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061234#FFFFFF#000000##FFFFFF
##0612341.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #061234;
/* rgb */ color: rgb(6, 18, 52);
/* oklch */ color: oklch(19.7% 0.069 265.1);
Tailwind
colors: {
  custom: {
    50: '#4d4f6c',
    500: '#061234',
    950: '#000000',
  },
}
SCSS
$custom: #061234;
$custom-light: #4d4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#061234",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 224.348,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19654,
    "c": 0.06944,
    "h": 265.1
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#061234
secondary
#745F21
accent
#C332F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #061234

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

Preview Lab → · Contrast checker → · Palette generator →

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