#060331#060331

#060331 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.088 H 274.1°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#060331
RGBrgb(6, 3, 49)
HSLhsl(244, 88%, 10%)
HSVhsv(244, 94%, 19%)
CMYKcmyk(87.8%, 93.9%, 0%, 80.8%)
CIE-LABlab(2.94, 14.44, -27.30)
CIE-LCHlch(2.94, 30.88, 297.88°)
OKLaboklab(15.77% 0.0062 -0.0877)
OKLCHoklch(15.77% 0.088 274.1)
XYZxyz(0.6619, 0.3255, 2.9331)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060331 #2E3103
analogous
#031731 #060331 #1D0331
triadic
#060331 #310603 #033106
tetradic
#060331 #310317 #2E3103 #03311D
square
#060331 #310317 #2E3103 #03311D
split-complementary
#060331 #311D03 #173103
monochromatic
#04021D #04021D #060331 #0D076B #140AA4

Accessibility & contrast

On white

19.71
#060331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#060331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060331
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060331#FFFFFF#000000##FFFFFF
##0603311.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #060331;
/* rgb */ color: rgb(6, 3, 49);
/* oklch */ color: oklch(15.8% 0.088 274.1);
Tailwind
colors: {
  custom: {
    50: '#4c4769',
    500: '#060331',
    950: '#000000',
  },
}
SCSS
$custom: #060331;
$custom-light: #4c4769;
$custom-dark: #000000;
JSON
{
  "hex": "#060331",
  "rgb": {
    "r": 6,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 243.913,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15772,
    "c": 0.08788,
    "h": 274.1
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#060331
secondary
#6F741B
accent
#FF29F1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #060331

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

Preview Lab → · Contrast checker → · Palette generator →

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