#0A2143#0A2143

#0A2143 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.1% C 0.070 H 258.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0A2143
RGBrgb(10, 33, 67)
HSLhsl(216, 74%, 15%)
HSVhsv(216, 85%, 26%)
CMYKcmyk(85.1%, 50.7%, 0%, 73.7%)
CIE-LABlab(12.97, 5.43, -24.08)
CIE-LCHlch(12.97, 24.69, 282.71°)
OKLaboklab(25.13% -0.0142 -0.069)
OKLCHoklch(25.13% 0.07 258.4)
XYZxyz(1.6818, 1.5573, 5.5211)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2143 #432C0A
analogous
#0A3E43 #0A2143 #0F0A43
triadic
#0A2143 #430A21 #21430A
tetradic
#0A2143 #430A3E #432C0A #0A430F
square
#0A2143 #430A3E #432C0A #0A430F
split-complementary
#0A2143 #430F0A #3E430A
monochromatic
#040D1B #040D1B #0A2143 #123B78 #1A55AE

Accessibility & contrast

On white

16.01
#0A2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2143
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2143#FFFFFF#000000##FFFFFF
##0A21431.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2444
Deuteranopia (green-blind)
#051F42
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a2143;
/* rgb */ color: rgb(10, 33, 67);
/* oklch */ color: oklch(25.1% 0.070 258.4);
Tailwind
colors: {
  custom: {
    50: '#535b77',
    500: '#0a2143',
    950: '#000000',
  },
}
SCSS
$custom: #0a2143;
$custom-light: #535b77;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2143",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 215.789,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25134,
    "c": 0.07047,
    "h": 258.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#0A2143
secondary
#805D29
accent
#A637F1
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0A2143

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

Preview Lab → · Contrast checker → · Palette generator →

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