#0A0F3F#0A0F3F

#0A0F3F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.090 H 271.0°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#0A0F3F
RGBrgb(10, 15, 63)
HSLhsl(234, 73%, 14%)
HSVhsv(234, 84%, 25%)
CMYKcmyk(84.1%, 76.2%, 0%, 75.3%)
CIE-LABlab(6.91, 17.45, -31.09)
CIE-LCHlch(6.91, 35.65, 299.31°)
OKLaboklab(20.42% 0.0016 -0.0902)
OKLCHoklch(20.42% 0.09 271)
XYZxyz(1.1929, 0.7649, 4.7864)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F3F #3F3A0A
analogous
#0A2A3F #0A0F3F #200A3F
triadic
#0A0F3F #3F0A0F #0F3F0A
tetradic
#0A0F3F #3F0A2A #3F3A0A #0A3F20
square
#0A0F3F #3F0A2A #3F3A0A #0A3F20
split-complementary
#0A0F3F #3F200A #2A3F0A
monochromatic
#04061A #04061A #0A0F3F #121C74 #1B28A9

Accessibility & contrast

On white

18.21
#0A0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0F3F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F3F#FFFFFF#000000##FFFFFF
##0A0F3F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0f3f;
/* rgb */ color: rgb(10, 15, 63);
/* oklch */ color: oklch(20.4% 0.090 271.0);
Tailwind
colors: {
  custom: {
    50: '#534d75',
    500: '#0a0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f3f;
$custom-light: #534d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f3f",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 234.34,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2042,
    "c": 0.09019,
    "h": 271
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#0A0F3F
secondary
#7C7429
accent
#DE38EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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