#0A1C4E#0A1C4E

#0A1C4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.095 H 265.0°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#0A1C4E
RGBrgb(10, 28, 78)
HSLhsl(224, 77%, 17%)
HSVhsv(224, 87%, 31%)
CMYKcmyk(87.2%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.25, 14.28, -32.85)
CIE-LCHlch(12.25, 35.82, 293.49°)
OKLaboklab(24.88% -0.0083 -0.0949)
OKLCHoklch(24.88% 0.095 265)
XYZxyz(1.9151, 1.4449, 7.3842)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1C4E #4E3C0A
analogous
#0A3E4E #0A1C4E #1A0A4E
triadic
#0A1C4E #4E0A1C #1C4E0A
tetradic
#0A1C4E #4E0A3E #4E3C0A #0A4E1A
square
#0A1C4E #4E0A3E #4E3C0A #0A4E1A
split-complementary
#0A1C4E #4E1A0A #3E4E0A
monochromatic
#030A1B #030A1B #0A1C4E #112F84 #1843BA

Accessibility & contrast

On white

16.29
#0A1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0A1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1C4E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1C4E#FFFFFF#000000##FFFFFF
##0A1C4E1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0a1c4e;
/* rgb */ color: rgb(10, 28, 78);
/* oklch */ color: oklch(24.9% 0.095 265.0);
Tailwind
colors: {
  custom: {
    50: '#575780',
    500: '#0a1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #0a1c4e;
$custom-light: #575780;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1c4e",
  "rgb": {
    "r": 10,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 224.118,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24882,
    "c": 0.09527,
    "h": 265
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#0A1C4E
secondary
#8B7129
accent
#C134F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0A1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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