#061241#061241

#061241 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.091 H 266.5°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#061241
RGBrgb(6, 18, 65)
HSLhsl(228, 83%, 14%)
HSVhsv(228, 91%, 25%)
CMYKcmyk(90.8%, 72.3%, 0%, 74.5%)
CIE-LABlab(7.70, 15.70, -31.22)
CIE-LCHlch(7.70, 34.95, 296.70°)
OKLaboklab(21.04% -0.0056 -0.0904)
OKLCHoklch(21.04% 0.091 266.5)
XYZxyz(1.2452, 0.8528, 5.0990)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061241 #413506
analogous
#063041 #061241 #180641
triadic
#061241 #410612 #124106
tetradic
#061241 #410630 #413506 #064118
square
#061241 #410630 #413506 #064118
split-complementary
#061241 #411806 #304106
monochromatic
#03081C #03081C #061241 #0B2279 #1031B1

Accessibility & contrast

On white

17.94
#061241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#061241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061241
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061241#FFFFFF#000000##FFFFFF
##0612411.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #061241;
/* rgb */ color: rgb(6, 18, 65);
/* oklch */ color: oklch(21.0% 0.091 266.5);
Tailwind
colors: {
  custom: {
    50: '#524f76',
    500: '#061241',
    950: '#000000',
  },
}
SCSS
$custom: #061241;
$custom-light: #524f76;
$custom-dark: #000000;
JSON
{
  "hex": "#061241",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 227.797,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21037,
    "c": 0.09057,
    "h": 266.5
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#061241
secondary
#816D22
accent
#D02EF9
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #061241

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

Preview Lab → · Contrast checker → · Palette generator →

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