#0A1237#0A1237

#0A1237 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.073 H 269.5°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0A1237
RGBrgb(10, 18, 55)
HSLhsl(229, 69%, 13%)
HSVhsv(229, 82%, 22%)
CMYKcmyk(81.8%, 67.3%, 0%, 78.4%)
CIE-LABlab(6.98, 11.62, -25.21)
CIE-LCHlch(6.98, 27.75, 294.74°)
OKLaboklab(20.22% -0.0006 -0.0729)
OKLCHoklch(20.22% 0.073 269.5)
XYZxyz(1.0308, 0.7729, 3.7085)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1237 #372F0A
analogous
#0A2837 #0A1237 #180A37
triadic
#0A1237 #370A12 #12370A
tetradic
#0A1237 #370A28 #372F0A #0A3718
square
#0A1237 #370A28 #372F0A #0A3718
split-complementary
#0A1237 #37180A #28370A
monochromatic
#05081A #05081A #0A1237 #13236B #1D349F

Accessibility & contrast

On white

18.19
#0A1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1237
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1237#FFFFFF#000000##FFFFFF
##0A12371.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a1237;
/* rgb */ color: rgb(10, 18, 55);
/* oklch */ color: oklch(20.2% 0.073 269.5);
Tailwind
colors: {
  custom: {
    50: '#504f6e',
    500: '#0a1237',
    950: '#000000',
  },
}
SCSS
$custom: #0a1237;
$custom-light: #504f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1237",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 229.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20223,
    "c": 0.07287,
    "h": 269.5
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#0A1237
secondary
#746728
accent
#CD3CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A1237

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

Preview Lab → · Contrast checker → · Palette generator →

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