#06153F#06153F

#06153F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.083 H 264.7°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#06153F
RGBrgb(6, 21, 63)
HSLhsl(224, 83%, 14%)
HSVhsv(224, 90%, 25%)
CMYKcmyk(90.5%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.43, 12.42, -28.62)
CIE-LCHlch(8.43, 31.20, 293.46°)
OKLaboklab(21.52% -0.0077 -0.0827)
OKLCHoklch(21.52% 0.083 264.7)
XYZxyz(1.2402, 0.9338, 4.8165)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06153F #3F3006
analogous
#06313F #06153F #13063F
triadic
#06153F #3F0615 #153F06
tetradic
#06153F #3F0631 #3F3006 #063F13
square
#06153F #3F0631 #3F3006 #063F13
split-complementary
#06153F #3F1306 #313F06
monochromatic
#03091C #03091C #06153F #0B2877 #113AAF

Accessibility & contrast

On white

17.69
#06153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#06153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06153F
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06153F#FFFFFF#000000##FFFFFF
##06153F1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #06153f;
/* rgb */ color: rgb(6, 21, 63);
/* oklch */ color: oklch(21.5% 0.083 264.7);
Tailwind
colors: {
  custom: {
    50: '#515174',
    500: '#06153f',
    950: '#000000',
  },
}
SCSS
$custom: #06153f;
$custom-light: #515174;
$custom-dark: #000000;
JSON
{
  "hex": "#06153f",
  "rgb": {
    "r": 6,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 224.211,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21515,
    "c": 0.08306,
    "h": 264.7
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#06153F
secondary
#7F6622
accent
#C42FF9
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #06153F

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

Preview Lab → · Contrast checker → · Palette generator →

#06153F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva