#0A0F4A#0A0F4A

#0A0F4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.107 H 270.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#0A0F4A
RGBrgb(10, 15, 74)
HSLhsl(235, 76%, 16%)
HSVhsv(235, 86%, 29%)
CMYKcmyk(86.5%, 79.7%, 0%, 71%)
CIE-LABlab(8.13, 22.27, -36.84)
CIE-LCHlch(8.13, 43.05, 301.16°)
OKLaboklab(21.73% 0.0002 -0.1067)
OKLCHoklch(21.73% 0.107 270.1)
XYZxyz(1.5316, 0.9004, 6.5703)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F4A #4A450A
analogous
#0A2F4A #0A0F4A #250A4A
triadic
#0A0F4A #4A0A0F #0F4A0A
tetradic
#0A0F4A #4A0A2F #4A450A #0A4A25
square
#0A0F4A #4A0A2F #4A450A #0A4A25
split-complementary
#0A0F4A #4A250A #2F4A0A
monochromatic
#04051B #04051B #0A0F4A #111A80 #1925B6

Accessibility & contrast

On white

17.79
#0A0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F4A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F4A#FFFFFF#000000##FFFFFF
##0A0F4A1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a0f4a;
/* rgb */ color: rgb(10, 15, 74);
/* oklch */ color: oklch(21.7% 0.107 270.1);
Tailwind
colors: {
  custom: {
    50: '#574d7d',
    500: '#0a0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f4a;
$custom-light: #574d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f4a",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 235.313,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21727,
    "c": 0.10669,
    "h": 270.1
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#0A0F4A
secondary
#877F29
accent
#E435F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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