#060233#060233

#060233 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.093 H 273.8°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#060233
RGBrgb(6, 2, 51)
HSLhsl(245, 92%, 10%)
HSVhsv(245, 96%, 20%)
CMYKcmyk(88.2%, 96.1%, 0%, 80%)
CIE-LABlab(2.90, 15.94, -28.85)
CIE-LCHlch(2.90, 32.96, 298.91°)
OKLaboklab(15.81% 0.0062 -0.0923)
OKLCHoklch(15.81% 0.093 273.8)
XYZxyz(0.6942, 0.3211, 3.1567)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060233 #2F3302
analogous
#021633 #060233 #1E0233
triadic
#060233 #330602 #023306
tetradic
#060233 #330216 #2F3302 #02331E
square
#060233 #330216 #2F3302 #02331E
split-complementary
#060233 #331E02 #163302
monochromatic
#03011D #03011D #060233 #0D046E #1407A9

Accessibility & contrast

On white

19.73
#060233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#060233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060233
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060233#FFFFFF#000000##FFFFFF
##0602331.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D34
Deuteranopia (green-blind)
#000832
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #060233;
/* rgb */ color: rgb(6, 2, 51);
/* oklch */ color: oklch(15.8% 0.093 273.8);
Tailwind
colors: {
  custom: {
    50: '#4c476b',
    500: '#060233',
    950: '#000000',
  },
}
SCSS
$custom: #060233;
$custom-light: #4c476b;
$custom-dark: #000000;
JSON
{
  "hex": "#060233",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 244.898,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.15806,
    "c": 0.09251,
    "h": 273.8
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#060233
secondary
#70771A
accent
#FF29EE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #060233

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

Preview Lab → · Contrast checker → · Palette generator →

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