#020833#020833

#020833 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.085 H 266.1°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#020833
RGBrgb(2, 8, 51)
HSLhsl(233, 92%, 10%)
HSVhsv(233, 96%, 20%)
CMYKcmyk(96.1%, 84.3%, 0%, 80%)
CIE-LABlab(3.84, 12.48, -27.35)
CIE-LCHlch(3.84, 30.07, 294.53°)
OKLaboklab(16.88% -0.0058 -0.0846)
OKLCHoklch(16.88% 0.085 266.1)
XYZxyz(0.7092, 0.4255, 3.1761)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020833 #332D02
analogous
#022033 #020833 #140233
triadic
#020833 #330208 #083302
tetradic
#020833 #330220 #332D02 #023314
square
#020833 #330220 #332D02 #023314
split-complementary
#020833 #331402 #203302
monochromatic
#01051D #01051D #020833 #04116E #071AA9

Accessibility & contrast

On white

19.35
#020833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020833
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020833#FFFFFF#000000##FFFFFF
##0208331.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001034
Deuteranopia (green-blind)
#000B32
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #020833;
/* rgb */ color: rgb(2, 8, 51);
/* oklch */ color: oklch(16.9% 0.085 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4a6b',
    500: '#020833',
    950: '#000000',
  },
}
SCSS
$custom: #020833;
$custom-light: #4a4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#020833",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 232.653,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16875,
    "c": 0.08476,
    "h": 266.1
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#020833
secondary
#776C1A
accent
#E529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020833

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

Preview Lab → · Contrast checker → · Palette generator →

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