#061236#061236

#061236 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.073 H 265.5°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#061236
RGBrgb(6, 18, 54)
HSLhsl(225, 80%, 12%)
HSVhsv(225, 89%, 21%)
CMYKcmyk(88.9%, 66.7%, 0%, 78.8%)
CIE-LABlab(6.66, 10.28, -25.01)
CIE-LCHlch(6.66, 27.04, 292.36°)
OKLaboklab(19.86% -0.0057 -0.0726)
OKLCHoklch(19.86% 0.073 265.5)
XYZxyz(0.9570, 0.7376, 3.5812)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061236 #362A06
analogous
#062A36 #061236 #120636
triadic
#061236 #360612 #123606
tetradic
#061236 #36062A #362A06 #063612
square
#061236 #36062A #362A06 #063612
split-complementary
#061236 #361206 #2A3606
monochromatic
#03091C #03091C #061236 #0C246D #1237A4

Accessibility & contrast

On white

18.30
#061236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#061236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061236
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061236#FFFFFF#000000##FFFFFF
##0612361.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #061236;
/* rgb */ color: rgb(6, 18, 54);
/* oklch */ color: oklch(19.9% 0.073 265.5);
Tailwind
colors: {
  custom: {
    50: '#4e4f6d',
    500: '#061236',
    950: '#000000',
  },
}
SCSS
$custom: #061236;
$custom-light: #4e4f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#061236",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 225,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19856,
    "c": 0.07281,
    "h": 265.5
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#061236
secondary
#766121
accent
#C531F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #061236

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

Preview Lab → · Contrast checker → · Palette generator →

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