#060938#060938

#060938 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.089 H 270.4°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#060938
RGBrgb(6, 9, 56)
HSLhsl(236, 81%, 12%)
HSVhsv(236, 89%, 22%)
CMYKcmyk(89.3%, 83.9%, 0%, 78%)
CIE-LABlab(4.69, 16.05, -29.65)
CIE-LCHlch(4.69, 33.72, 298.43°)
OKLaboklab(18.09% 0.0006 -0.0889)
OKLCHoklch(18.09% 0.089 270.4)
XYZxyz(0.8864, 0.5195, 3.7942)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060938 #383506
analogous
#062238 #060938 #1C0638
triadic
#060938 #380609 #093806
tetradic
#060938 #380622 #383506 #06381C
square
#060938 #380622 #383506 #06381C
split-complementary
#060938 #381C06 #223806
monochromatic
#03041C #03041C #060938 #0C126F #121BA7

Accessibility & contrast

On white

19.02
#060938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060938
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060938#FFFFFF#000000##FFFFFF
##0609381.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060938;
/* rgb */ color: rgb(6, 9, 56);
/* oklch */ color: oklch(18.1% 0.089 270.4);
Tailwind
colors: {
  custom: {
    50: '#4f4a6f',
    500: '#060938',
    950: '#000000',
  },
}
SCSS
$custom: #060938;
$custom-light: #4f4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#060938",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 236.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18094,
    "c": 0.08886,
    "h": 270.4
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#060938
secondary
#787321
accent
#EB31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060938

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

Preview Lab → · Contrast checker → · Palette generator →

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