#0A0F3E#0A0F3E

#0A0F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.089 H 271.1°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#0A0F3E
RGBrgb(10, 15, 62)
HSLhsl(234, 72%, 14%)
HSVhsv(234, 84%, 24%)
CMYKcmyk(83.9%, 75.8%, 0%, 75.7%)
CIE-LABlab(6.81, 16.97, -30.53)
CIE-LCHlch(6.81, 34.93, 299.07°)
OKLaboklab(20.31% 0.0017 -0.0886)
OKLCHoklch(20.31% 0.089 271.1)
XYZxyz(1.1652, 0.7539, 4.6406)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F3E #3E390A
analogous
#0A293E #0A0F3E #1F0A3E
triadic
#0A0F3E #3E0A0F #0F3E0A
tetradic
#0A0F3E #3E0A29 #3E390A #0A3E1F
square
#0A0F3E #3E0A29 #3E390A #0A3E1F
split-complementary
#0A0F3E #3E1F0A #293E0A
monochromatic
#04061A #04061A #0A0F3E #131C73 #1B29A7

Accessibility & contrast

On white

18.25
#0A0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0F3E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F3E#FFFFFF#000000##FFFFFF
##0A0F3E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0f3e;
/* rgb */ color: rgb(10, 15, 62);
/* oklch */ color: oklch(20.3% 0.089 271.1);
Tailwind
colors: {
  custom: {
    50: '#534d74',
    500: '#0a0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f3e;
$custom-light: #534d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f3e",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 234.231,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20306,
    "c": 0.08864,
    "h": 271.1
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#0A0F3E
secondary
#7B7328
accent
#DD39EF
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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