#020A35#020A35

#020A35 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.085 H 265.4°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#020A35
RGBrgb(2, 10, 53)
HSLhsl(231, 93%, 11%)
HSVhsv(231, 96%, 21%)
CMYKcmyk(96.2%, 81.1%, 0%, 79.2%)
CIE-LABlab(4.40, 12.83, -27.94)
CIE-LCHlch(4.40, 30.74, 294.67°)
OKLaboklab(17.58% -0.0068 -0.0847)
OKLCHoklch(17.58% 0.085 265.4)
XYZxyz(0.7760, 0.4869, 3.4206)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020A35 #352D02
analogous
#022335 #020A35 #130235
triadic
#020A35 #35020A #0A3502
tetradic
#020A35 #350223 #352D02 #023513
square
#020A35 #350223 #352D02 #023513
split-complementary
#020A35 #351302 #233502
monochromatic
#01061D #01061D #020A35 #041570 #0620AB

Accessibility & contrast

On white

19.14
#020A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#020A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020A35
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020A35#FFFFFF#000000##FFFFFF
##020A351.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000D34
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020a35;
/* rgb */ color: rgb(2, 10, 53);
/* oklch */ color: oklch(17.6% 0.085 265.4);
Tailwind
colors: {
  custom: {
    50: '#4b4b6d',
    500: '#020a35',
    950: '#000000',
  },
}
SCSS
$custom: #020a35;
$custom-light: #4b4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#020a35",
  "rgb": {
    "r": 2,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 230.588,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17577,
    "c": 0.08497,
    "h": 265.4
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#020A35
secondary
#796A1A
accent
#DD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #020A35

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

Preview Lab → · Contrast checker → · Palette generator →

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