#06113A#06113A

#06113A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.081 H 266.6°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#06113A
RGBrgb(6, 17, 58)
HSLhsl(227, 81%, 13%)
HSVhsv(227, 90%, 23%)
CMYKcmyk(89.7%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.73, 13.00, -27.80)
CIE-LCHlch(6.73, 30.69, 295.06°)
OKLaboklab(20.04% -0.0048 -0.0807)
OKLCHoklch(20.04% 0.081 266.6)
XYZxyz(1.0390, 0.7450, 4.0912)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06113A #3A2F06
analogous
#062B3A #06113A #15063A
triadic
#06113A #3A0611 #113A06
tetradic
#06113A #3A062B #3A2F06 #063A15
square
#06113A #3A062B #3A2F06 #063A15
split-complementary
#06113A #3A1506 #2B3A06
monochromatic
#03081C #03081C #06113A #0C2171 #1132A9

Accessibility & contrast

On white

18.28
#06113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06113A
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06113A#FFFFFF#000000##FFFFFF
##06113A1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #06113a;
/* rgb */ color: rgb(6, 17, 58);
/* oklch */ color: oklch(20.0% 0.081 266.6);
Tailwind
colors: {
  custom: {
    50: '#504e71',
    500: '#06113a',
    950: '#000000',
  },
}
SCSS
$custom: #06113a;
$custom-light: #504e71;
$custom-dark: #000000;
JSON
{
  "hex": "#06113a",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 227.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20037,
    "c": 0.08089,
    "h": 266.6
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#06113A
secondary
#7A6722
accent
#CD30F8
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #06113A

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

Preview Lab → · Contrast checker → · Palette generator →

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