#0A0F4C#0A0F4C

#0A0F4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.110 H 269.9°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#0A0F4C
RGBrgb(10, 15, 76)
HSLhsl(235, 77%, 17%)
HSVhsv(235, 87%, 30%)
CMYKcmyk(86.8%, 80.3%, 0%, 70.2%)
CIE-LABlab(8.37, 23.08, -37.83)
CIE-LCHlch(8.37, 44.32, 301.39°)
OKLaboklab(21.97% -0.0002 -0.1096)
OKLCHoklch(21.97% 0.11 269.9)
XYZxyz(1.6001, 0.9278, 6.9308)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F4C #4C470A
analogous
#0A304C #0A0F4C #260A4C
triadic
#0A0F4C #4C0A0F #0F4C0A
tetradic
#0A0F4C #4C0A30 #4C470A #0A4C26
square
#0A0F4C #4C0A30 #4C470A #0A4C26
split-complementary
#0A0F4C #4C260A #304C0A
monochromatic
#04051B #04051B #0A0F4C #111A82 #1824B8

Accessibility & contrast

On white

17.71
#0A0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0A0F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F4C
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F4C#FFFFFF#000000##FFFFFF
##0A0F4C1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00154B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a0f4c;
/* rgb */ color: rgb(10, 15, 76);
/* oklch */ color: oklch(22.0% 0.110 269.9);
Tailwind
colors: {
  custom: {
    50: '#574d7f',
    500: '#0a0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f4c;
$custom-light: #574d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f4c",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 235.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.10957,
    "h": 269.9
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#0A0F4C
secondary
#898129
accent
#E535F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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