#020326#020326

#020326 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.7% C 0.074 H 269.1°. Best body text is #FFFFFF at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#020326
RGBrgb(2, 3, 38)
HSLhsl(238, 90%, 8%)
HSVhsv(238, 95%, 15%)
CMYKcmyk(94.7%, 92.1%, 0%, 85.1%)
CIE-LABlab(1.97, 8.20, -20.47)
CIE-LCHlch(1.97, 22.05, 291.83°)
OKLaboklab(13.66% -0.0012 -0.0739)
OKLCHoklch(13.66% 0.074 269.1)
XYZxyz(0.4073, 0.2179, 1.8539)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020326 #262502
analogous
#021526 #020326 #130226
triadic
#020326 #260203 #032602
tetradic
#020326 #260215 #262502 #022613
square
#020326 #260215 #262502 #022613
split-complementary
#020326 #261302 #152602
monochromatic
#02021D #02021D #020326 #050860 #080C9A

Accessibility & contrast

On white

20.12
#020326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#020326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020326
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020326#FFFFFF#000000##FFFFFF
##0203261.0020.121.0420.12
#FFFFFF20.121.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000927
Deuteranopia (green-blind)
#000625
Tritanopia (blue-blind)
#000C13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #020326;
/* rgb */ color: rgb(2, 3, 38);
/* oklch */ color: oklch(13.7% 0.074 269.1);
Tailwind
colors: {
  custom: {
    50: '#474860',
    500: '#020326',
    950: '#000000',
  },
}
SCSS
$custom: #020326;
$custom-light: #474860;
$custom-dark: #000000;
JSON
{
  "hex": "#020326",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 238.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1366,
    "c": 0.07395,
    "h": 269.1
  },
  "luminance": 0.00218
}

Semantic roles & 50–950 ramp

primary
#020326
secondary
#6B6918
accent
#F929FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000005
muted
#777779

Preview Lab

Preview with #020326

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

Preview Lab → · Contrast checker → · Palette generator →

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