#060941#060941

#060941 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.102 H 269.4°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#060941
RGBrgb(6, 9, 65)
HSLhsl(237, 83%, 14%)
HSVhsv(237, 91%, 25%)
CMYKcmyk(90.8%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.56, 21.07, -34.73)
CIE-LCHlch(5.56, 40.62, 301.24°)
OKLaboklab(19.27% -0.0011 -0.1021)
OKLCHoklch(19.27% 0.102 269.4)
XYZxyz(1.1266, 0.6156, 5.0595)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060941 #413E06
analogous
#062741 #060941 #210641
triadic
#060941 #410609 #094106
tetradic
#060941 #410627 #413E06 #064121
square
#060941 #410627 #413E06 #064121
split-complementary
#060941 #412106 #274106
monochromatic
#03041C #03041C #060941 #0B1179 #1019B1

Accessibility & contrast

On white

18.70
#060941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060941
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060941#FFFFFF#000000##FFFFFF
##0609411.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060941;
/* rgb */ color: rgb(6, 9, 65);
/* oklch */ color: oklch(19.3% 0.102 269.4);
Tailwind
colors: {
  custom: {
    50: '#534976',
    500: '#060941',
    950: '#000000',
  },
}
SCSS
$custom: #060941;
$custom-light: #534976;
$custom-dark: #000000;
JSON
{
  "hex": "#060941",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 236.949,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19272,
    "c": 0.10213,
    "h": 269.4
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#060941
secondary
#817C22
accent
#EF2EF9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060941

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

Preview Lab → · Contrast checker → · Palette generator →

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