#061235#061235

#061235 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.071 H 265.3°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#061235
RGBrgb(6, 18, 53)
HSLhsl(225, 80%, 12%)
HSVhsv(225, 89%, 21%)
CMYKcmyk(88.7%, 66%, 0%, 79.2%)
CIE-LABlab(6.58, 9.77, -24.41)
CIE-LCHlch(6.58, 26.29, 291.80°)
OKLaboklab(19.76% -0.0058 -0.0709)
OKLCHoklch(19.76% 0.071 265.3)
XYZxyz(0.9338, 0.7283, 3.4588)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061235 #352906
analogous
#062A35 #061235 #120635
triadic
#061235 #350612 #123506
tetradic
#061235 #35062A #352906 #063512
square
#061235 #35062A #352906 #063512
split-complementary
#061235 #351206 #2A3506
monochromatic
#03091B #03091B #061235 #0C256C #1237A3

Accessibility & contrast

On white

18.33
#061235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061235
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061235#FFFFFF#000000##FFFFFF
##0612351.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061235;
/* rgb */ color: rgb(6, 18, 53);
/* oklch */ color: oklch(19.8% 0.071 265.3);
Tailwind
colors: {
  custom: {
    50: '#4e4f6c',
    500: '#061235',
    950: '#000000',
  },
}
SCSS
$custom: #061235;
$custom-light: #4e4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#061235",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 224.681,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19755,
    "c": 0.07113,
    "h": 265.3
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#061235
secondary
#756021
accent
#C432F6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #061235

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

Preview Lab → · Contrast checker → · Palette generator →

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