#060239#060239

#060239 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.101 H 272.3°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#060239
RGBrgb(6, 2, 57)
HSLhsl(244, 93%, 12%)
HSVhsv(244, 96%, 22%)
CMYKcmyk(89.5%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.41, 19.51, -32.46)
CIE-LCHlch(3.41, 37.87, 301.01°)
OKLaboklab(16.72% 0.004 -0.1005)
OKLCHoklch(16.72% 0.101 272.3)
XYZxyz(0.8351, 0.3775, 3.8989)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060239 #353902
analogous
#021A39 #060239 #220239
triadic
#060239 #390602 #023906
tetradic
#060239 #39021A #353902 #023922
square
#060239 #39021A #353902 #023922
split-complementary
#060239 #392202 #1A3902
monochromatic
#03011E #03011E #060239 #0C0474 #1206AF

Accessibility & contrast

On white

19.52
#060239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060239
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060239#FFFFFF#000000##FFFFFF
##0602391.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3A
Deuteranopia (green-blind)
#000938
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #060239;
/* rgb */ color: rgb(6, 2, 57);
/* oklch */ color: oklch(16.7% 0.101 272.3);
Tailwind
colors: {
  custom: {
    50: '#4f4670',
    500: '#060239',
    950: '#000000',
  },
}
SCSS
$custom: #060239;
$custom-light: #4f4670;
$custom-dark: #000000;
JSON
{
  "hex": "#060239",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 244.364,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16718,
    "c": 0.10061,
    "h": 272.3
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#060239
secondary
#757D1A
accent
#FF29EF
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060239

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

Preview Lab → · Contrast checker → · Palette generator →

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