#061F42#061F42

#061F42 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.073 H 257.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#061F42
RGBrgb(6, 31, 66)
HSLhsl(215, 83%, 14%)
HSVhsv(215, 91%, 26%)
CMYKcmyk(90.9%, 53%, 0%, 74.1%)
CIE-LABlab(12.04, 5.90, -24.89)
CIE-LCHlch(12.04, 25.58, 283.33°)
OKLaboklab(24.34% -0.0158 -0.0715)
OKLCHoklch(24.34% 0.073 257.5)
XYZxyz(1.5481, 1.4119, 5.3441)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061F42 #422906
analogous
#063D42 #061F42 #0B0642
triadic
#061F42 #42061F #1F4206
tetradic
#061F42 #42063D #422906 #06420B
square
#061F42 #42063D #422906 #06420B
split-complementary
#061F42 #420B06 #3D4206
monochromatic
#030D1C #030D1C #061F42 #0B397A #1054B2

Accessibility & contrast

On white

16.38
#061F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#061F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061F42
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061F42#FFFFFF#000000##FFFFFF
##061F421.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2243
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #061f42;
/* rgb */ color: rgb(6, 31, 66);
/* oklch */ color: oklch(24.3% 0.073 257.5);
Tailwind
colors: {
  custom: {
    50: '#515a77',
    500: '#061f42',
    950: '#000000',
  },
}
SCSS
$custom: #061f42;
$custom-light: #515a77;
$custom-dark: #000000;
JSON
{
  "hex": "#061f42",
  "rgb": {
    "r": 6,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 215,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24344,
    "c": 0.07324,
    "h": 257.5
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#061F42
secondary
#825A22
accent
#A52EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #061F42

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

Preview Lab → · Contrast checker → · Palette generator →

#061F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva