#0A0F35#0A0F35

#0A0F35 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.074 H 271.8°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0F35
RGBrgb(10, 15, 53)
HSLhsl(233, 68%, 12%)
HSVhsv(233, 81%, 21%)
CMYKcmyk(81.1%, 71.7%, 0%, 79.2%)
CIE-LABlab(5.99, 12.48, -25.35)
CIE-LCHlch(5.99, 28.26, 296.21°)
OKLaboklab(19.31% 0.0023 -0.0741)
OKLCHoklch(19.31% 0.074 271.8)
XYZxyz(0.9384, 0.6631, 3.4460)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F35 #35300A
analogous
#0A2535 #0A0F35 #1A0A35
triadic
#0A0F35 #350A0F #0F350A
tetradic
#0A0F35 #350A25 #35300A #0A351A
square
#0A0F35 #350A25 #35300A #0A351A
split-complementary
#0A0F35 #351A0A #25350A
monochromatic
#05071A #05071A #0A0F35 #141E68 #1D2C9C

Accessibility & contrast

On white

18.54
#0A0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F35
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F35#FFFFFF#000000##FFFFFF
##0A0F351.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0f35;
/* rgb */ color: rgb(10, 15, 53);
/* oklch */ color: oklch(19.3% 0.074 271.8);
Tailwind
colors: {
  custom: {
    50: '#504d6d',
    500: '#0a0f35',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f35;
$custom-light: #504d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f35",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 233.023,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19314,
    "c": 0.07413,
    "h": 271.8
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#0A0F35
secondary
#726A28
accent
#D73DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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