#020431#020431

#020431 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.088 H 267.5°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#020431
RGBrgb(2, 4, 49)
HSLhsl(237, 92%, 10%)
HSVhsv(237, 96%, 19%)
CMYKcmyk(95.9%, 91.8%, 0%, 80.8%)
CIE-LABlab(2.90, 12.99, -27.37)
CIE-LCHlch(2.90, 30.30, 295.39°)
OKLaboklab(15.6% -0.0039 -0.0882)
OKLCHoklch(15.6% 0.088 267.5)
XYZxyz(0.6226, 0.3214, 2.9344)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020431 #312F02
analogous
#021B31 #020431 #180231
triadic
#020431 #310204 #043102
tetradic
#020431 #31021B #312F02 #023118
square
#020431 #31021B #312F02 #023118
split-complementary
#020431 #311802 #1B3102
monochromatic
#01021D #01021D #020431 #04096C #070EA7

Accessibility & contrast

On white

19.73
#020431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020431
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020431#FFFFFF#000000##FFFFFF
##0204311.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020431;
/* rgb */ color: rgb(2, 4, 49);
/* oklch */ color: oklch(15.6% 0.088 267.5);
Tailwind
colors: {
  custom: {
    50: '#4a4869',
    500: '#020431',
    950: '#000000',
  },
}
SCSS
$custom: #020431;
$custom-light: #4a4869;
$custom-dark: #000000;
JSON
{
  "hex": "#020431",
  "rgb": {
    "r": 2,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 237.447,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15598,
    "c": 0.08832,
    "h": 267.5
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#020431
secondary
#757219
accent
#F629FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020431

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

Preview Lab → · Contrast checker → · Palette generator →

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