#0A123F#0A123F

#0A123F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.086 H 269.5°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0A123F
RGBrgb(10, 18, 63)
HSLhsl(231, 73%, 14%)
HSVhsv(231, 84%, 25%)
CMYKcmyk(84.1%, 71.4%, 0%, 75.3%)
CIE-LABlab(7.73, 15.37, -29.74)
CIE-LCHlch(7.73, 33.48, 297.32°)
OKLaboklab(21.06% -0.0007 -0.086)
OKLCHoklch(21.06% 0.086 269.5)
XYZxyz(1.2384, 0.8559, 4.8016)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A123F #3F370A
analogous
#0A2D3F #0A123F #1D0A3F
triadic
#0A123F #3F0A12 #123F0A
tetradic
#0A123F #3F0A2D #3F370A #0A3F1D
square
#0A123F #3F0A2D #3F370A #0A3F1D
split-complementary
#0A123F #3F1D0A #2D3F0A
monochromatic
#04081A #04081A #0A123F #122174 #1B30A9

Accessibility & contrast

On white

17.93
#0A123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A123F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A123F#FFFFFF#000000##FFFFFF
##0A123F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a123f;
/* rgb */ color: rgb(10, 18, 63);
/* oklch */ color: oklch(21.1% 0.086 269.5);
Tailwind
colors: {
  custom: {
    50: '#534f75',
    500: '#0a123f',
    950: '#000000',
  },
}
SCSS
$custom: #0a123f;
$custom-light: #534f75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a123f",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 230.943,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21059,
    "c": 0.08597,
    "h": 269.5
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#0A123F
secondary
#7C7029
accent
#D438EF
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A123F

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

Preview Lab → · Contrast checker → · Palette generator →

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