#0A123D#0A123D

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

Color values

HEX#0A123D
RGBrgb(10, 18, 61)
HSLhsl(231, 72%, 14%)
HSVhsv(231, 84%, 24%)
CMYKcmyk(83.6%, 70.5%, 0%, 76.1%)
CIE-LABlab(7.53, 14.46, -28.64)
CIE-LCHlch(7.53, 32.08, 296.78°)
OKLaboklab(20.85% -0.0006 -0.0828)
OKLCHoklch(20.85% 0.083 269.6)
XYZxyz(1.1835, 0.8339, 4.5126)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A123D #3D350A
analogous
#0A2C3D #0A123D #1C0A3D
triadic
#0A123D #3D0A12 #123D0A
tetradic
#0A123D #3D0A2C #3D350A #0A3D1C
square
#0A123D #3D0A2C #3D350A #0A3D1C
split-complementary
#0A123D #3D1C0A #2C3D0A
monochromatic
#04081A #04081A #0A123D #132272 #1B31A6

Accessibility & contrast

On white

18.00
#0A123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A123D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A123D#FFFFFF#000000##FFFFFF
##0A123D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a123d;
/* rgb */ color: rgb(10, 18, 61);
/* oklch */ color: oklch(20.8% 0.083 269.6);
Tailwind
colors: {
  custom: {
    50: '#524f73',
    500: '#0a123d',
    950: '#000000',
  },
}
SCSS
$custom: #0a123d;
$custom-light: #524f73;
$custom-dark: #000000;
JSON
{
  "hex": "#0a123d",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 230.588,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20845,
    "c": 0.08276,
    "h": 269.6
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#0A123D
secondary
#7A6D28
accent
#D239EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A123D

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

Preview Lab → · Contrast checker → · Palette generator →

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