#0A2142#0A2142

#0A2142 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.069 H 257.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0A2142
RGBrgb(10, 33, 66)
HSLhsl(215, 74%, 15%)
HSVhsv(215, 85%, 26%)
CMYKcmyk(84.8%, 50%, 0%, 74.1%)
CIE-LABlab(12.89, 4.97, -23.50)
CIE-LCHlch(12.89, 24.02, 281.95°)
OKLaboklab(25.05% -0.0144 -0.0673)
OKLCHoklch(25.05% 0.069 257.9)
XYZxyz(1.6520, 1.5454, 5.3644)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2142 #422B0A
analogous
#0A3D42 #0A2142 #0F0A42
triadic
#0A2142 #420A21 #21420A
tetradic
#0A2142 #420A3D #422B0A #0A420F
square
#0A2142 #420A3D #422B0A #0A420F
split-complementary
#0A2142 #420F0A #3D420A
monochromatic
#040D1B #040D1B #0A2142 #123C77 #1A56AC

Accessibility & contrast

On white

16.04
#0A2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0A2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2142
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2142#FFFFFF#000000##FFFFFF
##0A21421.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a2142;
/* rgb */ color: rgb(10, 33, 66);
/* oklch */ color: oklch(25.1% 0.069 257.9);
Tailwind
colors: {
  custom: {
    50: '#535b76',
    500: '#0a2142',
    950: '#000000',
  },
}
SCSS
$custom: #0a2142;
$custom-light: #535b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2142",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 215.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25053,
    "c": 0.06884,
    "h": 257.9
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#0A2142
secondary
#7F5C29
accent
#A437F0
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2142

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

Preview Lab → · Contrast checker → · Palette generator →

#0A2142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva