#061138#061138

#061138 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.078 H 266.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#061138
RGBrgb(6, 17, 56)
HSLhsl(227, 81%, 12%)
HSVhsv(227, 89%, 22%)
CMYKcmyk(89.3%, 69.6%, 0%, 78%)
CIE-LABlab(6.55, 11.97, -26.64)
CIE-LCHlch(6.55, 29.21, 294.19°)
OKLaboklab(19.82% -0.0048 -0.0775)
OKLCHoklch(19.82% 0.078 266.4)
XYZxyz(0.9891, 0.7250, 3.8284)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061138 #382D06
analogous
#062A38 #061138 #140638
triadic
#061138 #380611 #113806
tetradic
#061138 #38062A #382D06 #063814
square
#061138 #38062A #382D06 #063814
split-complementary
#061138 #381406 #2A3806
monochromatic
#03081C #03081C #061138 #0C226F #1233A7

Accessibility & contrast

On white

18.34
#061138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#061138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061138
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061138#FFFFFF#000000##FFFFFF
##0611381.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061138;
/* rgb */ color: rgb(6, 17, 56);
/* oklch */ color: oklch(19.8% 0.078 266.4);
Tailwind
colors: {
  custom: {
    50: '#4f4e6f',
    500: '#061138',
    950: '#000000',
  },
}
SCSS
$custom: #061138;
$custom-light: #4f4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#061138",
  "rgb": {
    "r": 6,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 226.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19821,
    "c": 0.07763,
    "h": 266.4
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#061138
secondary
#786521
accent
#CB31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #061138

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

Preview Lab → · Contrast checker → · Palette generator →

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