#06123C#06123C

#06123C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.083 H 266.2°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#06123C
RGBrgb(6, 18, 60)
HSLhsl(227, 82%, 13%)
HSVhsv(227, 90%, 24%)
CMYKcmyk(90%, 70%, 0%, 76.5%)
CIE-LABlab(7.20, 13.31, -28.47)
CIE-LCHlch(7.20, 31.43, 295.06°)
OKLaboklab(20.49% -0.0055 -0.0825)
OKLCHoklch(20.49% 0.083 266.2)
XYZxyz(1.1067, 0.7974, 4.3697)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06123C #3C3006
analogous
#062D3C #06123C #15063C
triadic
#06123C #3C0612 #123C06
tetradic
#06123C #3C062D #3C3006 #063C15
square
#06123C #3C062D #3C3006 #063C15
split-complementary
#06123C #3C1506 #2D3C06
monochromatic
#03081C #03081C #06123C #0C2374 #1133AB

Accessibility & contrast

On white

18.11
#06123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#06123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06123C
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06123C#FFFFFF#000000##FFFFFF
##06123C1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06123c;
/* rgb */ color: rgb(6, 18, 60);
/* oklch */ color: oklch(20.5% 0.083 266.2);
Tailwind
colors: {
  custom: {
    50: '#504f72',
    500: '#06123c',
    950: '#000000',
  },
}
SCSS
$custom: #06123c;
$custom-light: #504f72;
$custom-dark: #000000;
JSON
{
  "hex": "#06123c",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 226.667,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20487,
    "c": 0.08265,
    "h": 266.2
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#06123C
secondary
#7C6822
accent
#CC30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #06123C

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

Preview Lab → · Contrast checker → · Palette generator →

#06123C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva