#0A1245#0A1245

#0A1245 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.095 H 269.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0A1245
RGBrgb(10, 18, 69)
HSLhsl(232, 75%, 15%)
HSVhsv(232, 86%, 27%)
CMYKcmyk(85.5%, 73.9%, 0%, 72.9%)
CIE-LABlab(8.37, 17.99, -32.95)
CIE-LCHlch(8.37, 37.54, 298.63°)
OKLaboklab(21.72% -0.001 -0.0953)
OKLCHoklch(21.72% 0.095 269.4)
XYZxyz(1.4153, 0.9267, 5.7333)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1245 #453D0A
analogous
#0A2F45 #0A1245 #1F0A45
triadic
#0A1245 #450A12 #12450A
tetradic
#0A1245 #450A2F #453D0A #0A451F
square
#0A1245 #450A2F #453D0A #0A451F
split-complementary
#0A1245 #451F0A #2F450A
monochromatic
#04071B #04071B #0A1245 #12207A #192EB0

Accessibility & contrast

On white

17.72
#0A1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0A1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1245
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1245#FFFFFF#000000##FFFFFF
##0A12451.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#002029
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1245;
/* rgb */ color: rgb(10, 18, 69);
/* oklch */ color: oklch(21.7% 0.095 269.4);
Tailwind
colors: {
  custom: {
    50: '#554f79',
    500: '#0a1245',
    950: '#000000',
  },
}
SCSS
$custom: #0a1245;
$custom-light: #554f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1245",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 231.864,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21722,
    "c": 0.09536,
    "h": 269.4
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#0A1245
secondary
#827629
accent
#D836F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1245

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

Preview Lab → · Contrast checker → · Palette generator →

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