#020330#020330

#020330 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.089 H 267.8°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#020330
RGBrgb(2, 3, 48)
HSLhsl(239, 92%, 10%)
HSVhsv(239, 96%, 19%)
CMYKcmyk(95.8%, 93.8%, 0%, 81.2%)
CIE-LABlab(2.63, 12.86, -27.05)
CIE-LCHlch(2.63, 29.96, 295.42°)
OKLaboklab(15.17% -0.0034 -0.0887)
OKLCHoklch(15.17% 0.089 267.8)
XYZxyz(0.5909, 0.2914, 2.8208)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020330 #302F02
analogous
#021A30 #020330 #180230
triadic
#020330 #300203 #033002
tetradic
#020330 #30021A #302F02 #023018
square
#020330 #30021A #302F02 #023018
split-complementary
#020330 #301802 #1A3002
monochromatic
#01021D #01021D #020330 #04076B #070AA6

Accessibility & contrast

On white

19.85
#020330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020330
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020330#FFFFFF#000000##FFFFFF
##0203301.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00072F
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020330;
/* rgb */ color: rgb(2, 3, 48);
/* oklch */ color: oklch(15.2% 0.089 267.8);
Tailwind
colors: {
  custom: {
    50: '#494869',
    500: '#020330',
    950: '#000000',
  },
}
SCSS
$custom: #020330;
$custom-light: #494869;
$custom-dark: #000000;
JSON
{
  "hex": "#020330",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 238.696,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15169,
    "c": 0.08873,
    "h": 267.8
  },
  "luminance": 0.00291
}

Semantic roles & 50–950 ramp

primary
#020330
secondary
#757319
accent
#FA29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020330

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

Preview Lab → · Contrast checker → · Palette generator →

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