#060931#060931

#060931 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.078 H 271.2°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#060931
RGBrgb(6, 9, 49)
HSLhsl(236, 78%, 11%)
HSVhsv(236, 88%, 19%)
CMYKcmyk(87.8%, 81.6%, 0%, 80.8%)
CIE-LABlab(4.12, 12.03, -25.42)
CIE-LCHlch(4.12, 28.12, 295.34°)
OKLaboklab(17.22% 0.0016 -0.0779)
OKLCHoklch(17.22% 0.078 271.2)
XYZxyz(0.7270, 0.4558, 2.9548)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060931 #312E06
analogous
#061E31 #060931 #180631
triadic
#060931 #310609 #093106
tetradic
#060931 #31061E #312E06 #063118
square
#060931 #31061E #312E06 #063118
split-complementary
#060931 #311806 #1E3106
monochromatic
#03051B #03051B #060931 #0D1368 #131D9E

Accessibility & contrast

On white

19.24
#060931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060931
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060931#FFFFFF#000000##FFFFFF
##0609311.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060931;
/* rgb */ color: rgb(6, 9, 49);
/* oklch */ color: oklch(17.2% 0.078 271.2);
Tailwind
colors: {
  custom: {
    50: '#4c4a69',
    500: '#060931',
    950: '#000000',
  },
}
SCSS
$custom: #060931;
$custom-light: #4c4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#060931",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 235.814,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17218,
    "c": 0.07796,
    "h": 271.2
  },
  "luminance": 0.00456
}

Semantic roles & 50–950 ramp

primary
#060931
secondary
#726C21
accent
#E733F5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060931

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

Preview Lab → · Contrast checker → · Palette generator →

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