#0A123E#0A123E

#0A123E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.084 H 269.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#0A123E
RGBrgb(10, 18, 62)
HSLhsl(231, 72%, 14%)
HSVhsv(231, 84%, 24%)
CMYKcmyk(83.9%, 71%, 0%, 75.7%)
CIE-LABlab(7.63, 14.91, -29.19)
CIE-LCHlch(7.63, 32.78, 297.06°)
OKLaboklab(20.95% -0.0006 -0.0844)
OKLCHoklch(20.95% 0.084 269.6)
XYZxyz(1.2107, 0.8448, 4.6558)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A123E #3E360A
analogous
#0A2C3E #0A123E #1C0A3E
triadic
#0A123E #3E0A12 #123E0A
tetradic
#0A123E #3E0A2C #3E360A #0A3E1C
square
#0A123E #3E0A2C #3E360A #0A3E1C
split-complementary
#0A123E #3E1C0A #2C3E0A
monochromatic
#04081A #04081A #0A123E #132173 #1B31A7

Accessibility & contrast

On white

17.96
#0A123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A123E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A123E#FFFFFF#000000##FFFFFF
##0A123E1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a123e;
/* rgb */ color: rgb(10, 18, 62);
/* oklch */ color: oklch(21.0% 0.084 269.6);
Tailwind
colors: {
  custom: {
    50: '#534f74',
    500: '#0a123e',
    950: '#000000',
  },
}
SCSS
$custom: #0a123e;
$custom-light: #534f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0a123e",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 230.769,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20951,
    "c": 0.08437,
    "h": 269.6
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#0A123E
secondary
#7B6F28
accent
#D339EF
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A123E

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

Preview Lab → · Contrast checker → · Palette generator →

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