#0A2149#0A2149

#0A2149 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.080 H 260.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#0A2149
RGBrgb(10, 33, 73)
HSLhsl(218, 76%, 16%)
HSVhsv(218, 86%, 29%)
CMYKcmyk(86.3%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.43, 8.15, -27.50)
CIE-LCHlch(13.43, 28.68, 286.52°)
OKLaboklab(25.64% -0.0131 -0.0791)
OKLCHoklch(25.64% 0.08 260.6)
XYZxyz(1.8712, 1.6331, 6.5186)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2149 #49320A
analogous
#0A4149 #0A2149 #130A49
triadic
#0A2149 #490A21 #21490A
tetradic
#0A2149 #490A41 #49320A #0A4913
square
#0A2149 #490A41 #49320A #0A4913
split-complementary
#0A2149 #49130A #41490A
monochromatic
#040C1B #040C1B #0A2149 #11397F #1952B5

Accessibility & contrast

On white

15.83
#0A2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0A2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2149
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2149#FFFFFF#000000##FFFFFF
##0A21491.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254A
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2149;
/* rgb */ color: rgb(10, 33, 73);
/* oklch */ color: oklch(25.6% 0.080 260.6);
Tailwind
colors: {
  custom: {
    50: '#555b7c',
    500: '#0a2149',
    950: '#000000',
  },
}
SCSS
$custom: #0a2149;
$custom-light: #555b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2149",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 218.095,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25638,
    "c": 0.08014,
    "h": 260.6
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#0A2149
secondary
#866429
accent
#AD35F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2149

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

Preview Lab → · Contrast checker → · Palette generator →

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