#0A0F37#0A0F37

#0A0F37 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.077 H 271.6°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#0A0F37
RGBrgb(10, 15, 55)
HSLhsl(233, 69%, 13%)
HSVhsv(233, 82%, 22%)
CMYKcmyk(81.8%, 72.7%, 0%, 78.4%)
CIE-LABlab(6.16, 13.51, -26.54)
CIE-LCHlch(6.16, 29.78, 296.98°)
OKLaboklab(19.53% 0.0022 -0.0774)
OKLCHoklch(19.53% 0.077 271.6)
XYZxyz(0.9854, 0.6819, 3.6934)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F37 #37320A
analogous
#0A2537 #0A0F37 #1B0A37
triadic
#0A0F37 #370A0F #0F370A
tetradic
#0A0F37 #370A25 #37320A #0A371B
square
#0A0F37 #370A25 #37320A #0A371B
split-complementary
#0A0F37 #371B0A #25370A
monochromatic
#05071A #05071A #0A0F37 #131D6B #1D2B9F

Accessibility & contrast

On white

18.48
#0A0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0A0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F37
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F37#FFFFFF#000000##FFFFFF
##0A0F371.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0f37;
/* rgb */ color: rgb(10, 15, 55);
/* oklch */ color: oklch(19.5% 0.077 271.6);
Tailwind
colors: {
  custom: {
    50: '#504d6e',
    500: '#0a0f37',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f37;
$custom-light: #504d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f37",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19527,
    "c": 0.07743,
    "h": 271.6
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#0A0F37
secondary
#746C28
accent
#D83CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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