#020230#020230

#020230 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.091 H 268.0°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#020230
RGBrgb(2, 2, 48)
HSLhsl(240, 92%, 10%)
HSVhsv(240, 96%, 19%)
CMYKcmyk(95.8%, 95.8%, 0%, 81.2%)
CIE-LABlab(2.44, 13.26, -27.37)
CIE-LCHlch(2.44, 30.41, 295.86°)
OKLaboklab(14.88% -0.0031 -0.0906)
OKLCHoklch(14.88% 0.091 268)
XYZxyz(0.5801, 0.2697, 2.8172)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020230 #303002
analogous
#021930 #020230 #190230
triadic
#020230 #300202 #023002
tetradic
#020230 #300219 #303002 #023019
square
#020230 #300219 #303002 #023019
split-complementary
#020230 #301902 #193002
monochromatic
#01011D #01011D #020230 #04046B #0707A6

Accessibility & contrast

On white

19.92
#020230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#020230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020230
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020230#FFFFFF#000000##FFFFFF
##0202301.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B31
Deuteranopia (green-blind)
#00072F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020230;
/* rgb */ color: rgb(2, 2, 48);
/* oklch */ color: oklch(14.9% 0.091 268.0);
Tailwind
colors: {
  custom: {
    50: '#494769',
    500: '#020230',
    950: '#000000',
  },
}
SCSS
$custom: #020230;
$custom-light: #494769;
$custom-dark: #000000;
JSON
{
  "hex": "#020230",
  "rgb": {
    "r": 2,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.14878,
    "c": 0.09069,
    "h": 268
  },
  "luminance": 0.0027
}

Semantic roles & 50–950 ramp

primary
#020230
secondary
#757519
accent
#FF29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020230

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

Preview Lab → · Contrast checker → · Palette generator →

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