#060940#060940

#060940 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.101 H 269.5°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#060940
RGBrgb(6, 9, 64)
HSLhsl(237, 83%, 14%)
HSVhsv(237, 91%, 25%)
CMYKcmyk(90.6%, 85.9%, 0%, 74.9%)
CIE-LABlab(5.46, 20.54, -34.18)
CIE-LCHlch(5.46, 39.88, 301.00°)
OKLaboklab(19.14% -0.0009 -0.1007)
OKLCHoklch(19.14% 0.101 269.5)
XYZxyz(1.0979, 0.6041, 4.9082)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060940 #403D06
analogous
#062640 #060940 #200640
triadic
#060940 #400609 #094006
tetradic
#060940 #400626 #403D06 #064020
square
#060940 #400626 #403D06 #064020
split-complementary
#060940 #402006 #264006
monochromatic
#03041C #03041C #060940 #0B1178 #1019B0

Accessibility & contrast

On white

18.74
#060940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060940
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060940#FFFFFF#000000##FFFFFF
##0609401.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060940;
/* rgb */ color: rgb(6, 9, 64);
/* oklch */ color: oklch(19.1% 0.101 269.5);
Tailwind
colors: {
  custom: {
    50: '#524976',
    500: '#060940',
    950: '#000000',
  },
}
SCSS
$custom: #060940;
$custom-light: #524976;
$custom-dark: #000000;
JSON
{
  "hex": "#060940",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 236.897,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19139,
    "c": 0.10068,
    "h": 269.5
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#060940
secondary
#807B22
accent
#EF2FF9
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #060940

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

Preview Lab → · Contrast checker → · Palette generator →

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