#06123B#06123B

#06123B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.081 H 266.1°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#06123B
RGBrgb(6, 18, 59)
HSLhsl(226, 82%, 13%)
HSVhsv(226, 90%, 23%)
CMYKcmyk(89.8%, 69.5%, 0%, 76.9%)
CIE-LABlab(7.11, 12.82, -27.90)
CIE-LCHlch(7.11, 30.71, 294.68°)
OKLaboklab(20.38% -0.0055 -0.0808)
OKLCHoklch(20.38% 0.081 266.1)
XYZxyz(1.0806, 0.7870, 4.2318)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06123B #3B2F06
analogous
#062C3B #06123B #14063B
triadic
#06123B #3B0612 #123B06
tetradic
#06123B #3B062C #3B2F06 #063B14
square
#06123B #3B062C #3B2F06 #063B14
split-complementary
#06123B #3B1406 #2C3B06
monochromatic
#03081C #03081C #06123B #0C2373 #1134AA

Accessibility & contrast

On white

18.14
#06123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06123B
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06123B#FFFFFF#000000##FFFFFF
##06123B1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06123b;
/* rgb */ color: rgb(6, 18, 59);
/* oklch */ color: oklch(20.4% 0.081 266.1);
Tailwind
colors: {
  custom: {
    50: '#504f71',
    500: '#06123b',
    950: '#000000',
  },
}
SCSS
$custom: #06123b;
$custom-light: #504f71;
$custom-dark: #000000;
JSON
{
  "hex": "#06123b",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 226.415,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20379,
    "c": 0.08103,
    "h": 266.1
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#06123B
secondary
#7B6722
accent
#CB30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #06123B

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

Preview Lab → · Contrast checker → · Palette generator →

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