#060937#060937

#060937 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.087 H 270.5°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#060937
RGBrgb(6, 9, 55)
HSLhsl(236, 80%, 12%)
HSVhsv(236, 89%, 22%)
CMYKcmyk(89.1%, 83.6%, 0%, 78.4%)
CIE-LABlab(4.61, 15.46, -29.06)
CIE-LCHlch(4.61, 32.92, 298.01°)
OKLaboklab(17.97% 0.0007 -0.0873)
OKLCHoklch(17.97% 0.087 270.5)
XYZxyz(0.8621, 0.5098, 3.6667)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060937 #373406
analogous
#062237 #060937 #1C0637
triadic
#060937 #370609 #093706
tetradic
#060937 #370622 #373406 #06371C
square
#060937 #370622 #373406 #06371C
split-complementary
#060937 #371C06 #223706
monochromatic
#03051C #03051C #060937 #0C126E #121BA5

Accessibility & contrast

On white

19.06
#060937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060937
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060937#FFFFFF#000000##FFFFFF
##0609371.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060937;
/* rgb */ color: rgb(6, 9, 55);
/* oklch */ color: oklch(18.0% 0.087 270.5);
Tailwind
colors: {
  custom: {
    50: '#4e4a6e',
    500: '#060937',
    950: '#000000',
  },
}
SCSS
$custom: #060937;
$custom-light: #4e4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#060937",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 236.327,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17966,
    "c": 0.08734,
    "h": 270.5
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #060937

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

Preview Lab → · Contrast checker → · Palette generator →

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