#06113B#06113B

#06113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.083 H 266.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#06113B
RGBrgb(6, 17, 59)
HSLhsl(228, 82%, 13%)
HSVhsv(228, 90%, 23%)
CMYKcmyk(89.8%, 71.2%, 0%, 76.9%)
CIE-LABlab(6.82, 13.50, -28.37)
CIE-LCHlch(6.82, 31.42, 295.45°)
OKLaboklab(20.15% -0.0048 -0.0824)
OKLCHoklch(20.15% 0.083 266.7)
XYZxyz(1.0647, 0.7553, 4.2265)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06113B #3B3006
analogous
#062B3B #06113B #15063B
triadic
#06113B #3B0611 #113B06
tetradic
#06113B #3B062B #3B3006 #063B15
square
#06113B #3B062B #3B3006 #063B15
split-complementary
#06113B #3B1506 #2B3B06
monochromatic
#03081C #03081C #06113B #0C2173 #1131AA

Accessibility & contrast

On white

18.25
#06113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#06113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06113B
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06113B#FFFFFF#000000##FFFFFF
##06113B1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06113b;
/* rgb */ color: rgb(6, 17, 59);
/* oklch */ color: oklch(20.1% 0.083 266.7);
Tailwind
colors: {
  custom: {
    50: '#504e71',
    500: '#06113b',
    950: '#000000',
  },
}
SCSS
$custom: #06113b;
$custom-light: #504e71;
$custom-dark: #000000;
JSON
{
  "hex": "#06113b",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 227.547,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20146,
    "c": 0.0825,
    "h": 266.7
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#06113B
secondary
#7B6922
accent
#CE30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #06113B

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

Preview Lab → · Contrast checker → · Palette generator →

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