#0A0D4C#0A0D4C

#0A0D4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.112 H 270.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0A0D4C
RGBrgb(10, 13, 76)
HSLhsl(237, 77%, 17%)
HSVhsv(237, 87%, 30%)
CMYKcmyk(86.8%, 82.9%, 0%, 70.2%)
CIE-LABlab(7.89, 24.43, -38.62)
CIE-LCHlch(7.89, 45.70, 302.31°)
OKLaboklab(21.63% 0.0007 -0.1119)
OKLCHoklch(21.63% 0.112 270.4)
XYZxyz(1.5732, 0.8740, 6.9219)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0D4C #4C490A
analogous
#0A2E4C #0A0D4C #280A4C
triadic
#0A0D4C #4C0A0D #0D4C0A
tetradic
#0A0D4C #4C0A2E #4C490A #0A4C28
square
#0A0D4C #4C0A2E #4C490A #0A4C28
split-complementary
#0A0D4C #4C280A #2E4C0A
monochromatic
#04051B #04051B #0A0D4C #111682 #1820B8

Accessibility & contrast

On white

17.88
#0A0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0A0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0D4C
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0D4C#FFFFFF#000000##FFFFFF
##0A0D4C1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00144B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a0d4c;
/* rgb */ color: rgb(10, 13, 76);
/* oklch */ color: oklch(21.6% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#584c7f',
    500: '#0a0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #0a0d4c;
$custom-light: #584c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0d4c",
  "rgb": {
    "r": 10,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 237.273,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2163,
    "c": 0.11186,
    "h": 270.4
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#0A0D4C
secondary
#898429
accent
#EB35F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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