#0A1D48#0A1D48

#0A1D48 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.084 H 263.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0A1D48
RGBrgb(10, 29, 72)
HSLhsl(222, 76%, 16%)
HSVhsv(222, 86%, 28%)
CMYKcmyk(86.1%, 59.7%, 0%, 71.8%)
CIE-LABlab(12.03, 10.80, -29.07)
CIE-LCHlch(12.03, 31.01, 290.38°)
OKLaboklab(24.55% -0.0096 -0.0838)
OKLCHoklch(24.55% 0.084 263.5)
XYZxyz(1.7338, 1.4109, 6.3106)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1D48 #48350A
analogous
#0A3C48 #0A1D48 #160A48
triadic
#0A1D48 #480A1D #1D480A
tetradic
#0A1D48 #480A3C #48350A #0A4816
square
#0A1D48 #480A3C #48350A #0A4816
split-complementary
#0A1D48 #48160A #3C480A
monochromatic
#040B1B #040B1B #0A1D48 #11337E #1948B3

Accessibility & contrast

On white

16.38
#0A1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0A1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1D48
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1D48#FFFFFF#000000##FFFFFF
##0A1D481.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0a1d48;
/* rgb */ color: rgb(10, 29, 72);
/* oklch */ color: oklch(24.5% 0.084 263.5);
Tailwind
colors: {
  custom: {
    50: '#55587b',
    500: '#0a1d48',
    950: '#000000',
  },
}
SCSS
$custom: #0a1d48;
$custom-light: #55587b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1d48",
  "rgb": {
    "r": 10,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 221.613,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24545,
    "c": 0.08434,
    "h": 263.5
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#0A1D48
secondary
#856929
accent
#B836F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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