#020933#020933

#020933 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.083 H 265.7°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#020933
RGBrgb(2, 9, 51)
HSLhsl(231, 92%, 10%)
HSVhsv(231, 96%, 20%)
CMYKcmyk(96.1%, 82.4%, 0%, 80%)
CIE-LABlab(4.04, 12.09, -27.04)
CIE-LCHlch(4.04, 29.62, 294.09°)
OKLaboklab(17.1% -0.0062 -0.083)
OKLCHoklch(17.1% 0.083 265.7)
XYZxyz(0.7201, 0.4472, 3.1797)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020933 #332C02
analogous
#022133 #020933 #140233
triadic
#020933 #330209 #093302
tetradic
#020933 #330221 #332C02 #023314
square
#020933 #330221 #332C02 #023314
split-complementary
#020933 #331402 #213302
monochromatic
#01051D #01051D #020933 #04136E #071EA9

Accessibility & contrast

On white

19.28
#020933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020933
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020933#FFFFFF#000000##FFFFFF
##0209331.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#000C32
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020933;
/* rgb */ color: rgb(2, 9, 51);
/* oklch */ color: oklch(17.1% 0.083 265.7);
Tailwind
colors: {
  custom: {
    50: '#4b4a6b',
    500: '#020933',
    950: '#000000',
  },
}
SCSS
$custom: #020933;
$custom-light: #4b4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#020933",
  "rgb": {
    "r": 2,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 231.429,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17102,
    "c": 0.08328,
    "h": 265.7
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#020933
secondary
#776A1A
accent
#E029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020933

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

Preview Lab → · Contrast checker → · Palette generator →

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