#0A124A#0A124A

#0A124A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.103 H 269.2°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0A124A
RGBrgb(10, 18, 74)
HSLhsl(233, 76%, 16%)
HSVhsv(233, 86%, 29%)
CMYKcmyk(86.5%, 75.7%, 0%, 71%)
CIE-LABlab(8.92, 20.12, -35.54)
CIE-LCHlch(8.92, 40.84, 299.51°)
OKLaboklab(22.29% -0.0015 -0.1029)
OKLCHoklch(22.29% 0.103 269.2)
XYZxyz(1.5771, 0.9914, 6.5855)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A124A #4A420A
analogous
#0A324A #0A124A #220A4A
triadic
#0A124A #4A0A12 #124A0A
tetradic
#0A124A #4A0A32 #4A420A #0A4A22
square
#0A124A #4A0A32 #4A420A #0A4A22
split-complementary
#0A124A #4A220A #324A0A
monochromatic
#04071B #04071B #0A124A #111F80 #192CB6

Accessibility & contrast

On white

17.52
#0A124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A124A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A124A#FFFFFF#000000##FFFFFF
##0A124A1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a124a;
/* rgb */ color: rgb(10, 18, 74);
/* oklch */ color: oklch(22.3% 0.103 269.2);
Tailwind
colors: {
  custom: {
    50: '#564f7d',
    500: '#0a124a',
    950: '#000000',
  },
}
SCSS
$custom: #0a124a;
$custom-light: #564f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a124a",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 232.5,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22294,
    "c": 0.10292,
    "h": 269.2
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#0A124A
secondary
#877B29
accent
#DB35F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0A124A

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

Preview Lab → · Contrast checker → · Palette generator →

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