#0A123C#0A123C

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

Color values

HEX#0A123C
RGBrgb(10, 18, 60)
HSLhsl(230, 71%, 14%)
HSVhsv(230, 83%, 24%)
CMYKcmyk(83.3%, 70%, 0%, 76.5%)
CIE-LABlab(7.44, 13.99, -28.08)
CIE-LCHlch(7.44, 31.37, 296.49°)
OKLaboklab(20.74% -0.0006 -0.0811)
OKLCHoklch(20.74% 0.081 269.6)
XYZxyz(1.1568, 0.8233, 4.3720)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A123C #3C340A
analogous
#0A2B3C #0A123C #1B0A3C
triadic
#0A123C #3C0A12 #123C0A
tetradic
#0A123C #3C0A2B #3C340A #0A3C1B
square
#0A123C #3C0A2B #3C340A #0A3C1B
split-complementary
#0A123C #3C1B0A #2B3C0A
monochromatic
#04081A #04081A #0A123C #132270 #1B31A5

Accessibility & contrast

On white

18.03
#0A123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A123C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A123C#FFFFFF#000000##FFFFFF
##0A123C1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a123c;
/* rgb */ color: rgb(10, 18, 60);
/* oklch */ color: oklch(20.7% 0.081 269.6);
Tailwind
colors: {
  custom: {
    50: '#524f72',
    500: '#0a123c',
    950: '#000000',
  },
}
SCSS
$custom: #0a123c;
$custom-light: #524f72;
$custom-dark: #000000;
JSON
{
  "hex": "#0a123c",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 230.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20739,
    "c": 0.08114,
    "h": 269.6
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#0A123C
secondary
#796C28
accent
#D13AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0A123C

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

Preview Lab → · Contrast checker → · Palette generator →

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