#0A1247#0A1247

#0A1247 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.098 H 269.3°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0A1247
RGBrgb(10, 18, 71)
HSLhsl(232, 75%, 16%)
HSVhsv(232, 86%, 28%)
CMYKcmyk(85.9%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.58, 18.85, -34.00)
CIE-LCHlch(8.58, 38.87, 299.00°)
OKLaboklab(21.95% -0.0012 -0.0984)
OKLCHoklch(21.95% 0.098 269.3)
XYZxyz(1.4784, 0.9519, 6.0658)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1247 #473F0A
analogous
#0A3047 #0A1247 #200A47
triadic
#0A1247 #470A12 #12470A
tetradic
#0A1247 #470A30 #473F0A #0A4720
square
#0A1247 #470A30 #473F0A #0A4720
split-complementary
#0A1247 #47200A #30470A
monochromatic
#04071B #04071B #0A1247 #12207D #192DB2

Accessibility & contrast

On white

17.64
#0A1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1247
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1247#FFFFFF#000000##FFFFFF
##0A12471.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a1247;
/* rgb */ color: rgb(10, 18, 71);
/* oklch */ color: oklch(21.9% 0.098 269.3);
Tailwind
colors: {
  custom: {
    50: '#554f7b',
    500: '#0a1247',
    950: '#000000',
  },
}
SCSS
$custom: #0a1247;
$custom-light: #554f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1247",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 232.131,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21949,
    "c": 0.09841,
    "h": 269.3
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#0A1247
secondary
#847829
accent
#D936F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1247

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

Preview Lab → · Contrast checker → · Palette generator →

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