#020B30#020B30

#020B30 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.076 H 264.6°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#020B30
RGBrgb(2, 11, 48)
HSLhsl(228, 92%, 10%)
HSVhsv(228, 96%, 19%)
CMYKcmyk(95.8%, 77.1%, 0%, 81.2%)
CIE-LABlab(4.21, 9.65, -24.54)
CIE-LCHlch(4.21, 26.37, 291.45°)
OKLaboklab(17.18% -0.0071 -0.0753)
OKLCHoklch(17.18% 0.076 264.6)
XYZxyz(0.6780, 0.4656, 2.8499)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020B30 #302702
analogous
#022230 #020B30 #100230
triadic
#020B30 #30020B #0B3002
tetradic
#020B30 #300222 #302702 #023010
square
#020B30 #300222 #302702 #023010
split-complementary
#020B30 #301002 #223002
monochromatic
#01071D #01071D #020B30 #04186B #0726A6

Accessibility & contrast

On white

19.21
#020B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#020B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020B30
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020B30#FFFFFF#000000##FFFFFF
##020B301.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020b30;
/* rgb */ color: rgb(2, 11, 48);
/* oklch */ color: oklch(17.2% 0.076 264.6);
Tailwind
colors: {
  custom: {
    50: '#4a4b68',
    500: '#020b30',
    950: '#000000',
  },
}
SCSS
$custom: #020b30;
$custom-light: #4a4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#020b30",
  "rgb": {
    "r": 2,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 228.261,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17182,
    "c": 0.07562,
    "h": 264.6
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#020B30
secondary
#756319
accent
#D529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020B30

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

Preview Lab → · Contrast checker → · Palette generator →

#020B30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva