#0A1C4A#0A1C4A

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

Color values

HEX#0A1C4A
RGBrgb(10, 28, 74)
HSLhsl(223, 76%, 16%)
HSVhsv(223, 86%, 29%)
CMYKcmyk(86.5%, 62.2%, 0%, 71%)
CIE-LABlab(11.89, 12.48, -30.69)
CIE-LCHlch(11.89, 33.13, 292.13°)
OKLaboklab(24.49% -0.0085 -0.0886)
OKLCHoklch(24.49% 0.089 264.5)
XYZxyz(1.7760, 1.3892, 6.6518)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1C4A #4A380A
analogous
#0A3C4A #0A1C4A #180A4A
triadic
#0A1C4A #4A0A1C #1C4A0A
tetradic
#0A1C4A #4A0A3C #4A380A #0A4A18
square
#0A1C4A #4A0A3C #4A380A #0A4A18
split-complementary
#0A1C4A #4A180A #3C4A0A
monochromatic
#040A1B #040A1B #0A1C4A #113080 #1945B6

Accessibility & contrast

On white

16.43
#0A1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1C4A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1C4A#FFFFFF#000000##FFFFFF
##0A1C4A1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0a1c4a;
/* rgb */ color: rgb(10, 28, 74);
/* oklch */ color: oklch(24.5% 0.089 264.5);
Tailwind
colors: {
  custom: {
    50: '#55577d',
    500: '#0a1c4a',
    950: '#000000',
  },
}
SCSS
$custom: #0a1c4a;
$custom-light: #55577d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1c4a",
  "rgb": {
    "r": 10,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 223.125,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24491,
    "c": 0.08898,
    "h": 264.5
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#0A1C4A
secondary
#876C29
accent
#BD35F3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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