#060236#060236

#060236 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.3% C 0.097 H 273.0°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#060236
RGBrgb(6, 2, 54)
HSLhsl(245, 93%, 11%)
HSVhsv(245, 96%, 21%)
CMYKcmyk(88.9%, 96.3%, 0%, 78.8%)
CIE-LABlab(3.15, 17.67, -30.68)
CIE-LCHlch(3.15, 35.40, 299.94°)
OKLaboklab(16.26% 0.0051 -0.0965)
OKLCHoklch(16.26% 0.097 273)
XYZxyz(0.7624, 0.3484, 3.5164)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060236 #323602
analogous
#021836 #060236 #200236
triadic
#060236 #360602 #023606
tetradic
#060236 #360218 #323602 #023620
square
#060236 #360218 #323602 #023620
split-complementary
#060236 #362002 #183602
monochromatic
#03011E #03011E #060236 #0D0471 #1306AC

Accessibility & contrast

On white

19.63
#060236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#060236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060236
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060236#FFFFFF#000000##FFFFFF
##0602361.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000935
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #060236;
/* rgb */ color: rgb(6, 2, 54);
/* oklch */ color: oklch(16.3% 0.097 273.0);
Tailwind
colors: {
  custom: {
    50: '#4d476e',
    500: '#060236',
    950: '#000000',
  },
}
SCSS
$custom: #060236;
$custom-light: #4d476e;
$custom-dark: #000000;
JSON
{
  "hex": "#060236",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 244.615,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16261,
    "c": 0.09659,
    "h": 273
  },
  "luminance": 0.00348
}

Semantic roles & 50–950 ramp

primary
#060236
secondary
#737A1A
accent
#FF29EF
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060236

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

Preview Lab → · Contrast checker → · Palette generator →

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