#0A0F49#0A0F49

#0A0F49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.105 H 270.2°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#0A0F49
RGBrgb(10, 15, 73)
HSLhsl(235, 76%, 16%)
HSVhsv(235, 86%, 29%)
CMYKcmyk(86.3%, 79.5%, 0%, 71.4%)
CIE-LABlab(8.01, 21.87, -36.34)
CIE-LCHlch(8.01, 42.41, 301.04°)
OKLaboklab(21.61% 0.0003 -0.1052)
OKLCHoklch(21.61% 0.105 270.2)
XYZxyz(1.4982, 0.8870, 6.3943)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F49 #49440A
analogous
#0A2F49 #0A0F49 #250A49
triadic
#0A0F49 #490A0F #0F490A
tetradic
#0A0F49 #490A2F #49440A #0A4925
square
#0A0F49 #490A2F #49440A #0A4925
split-complementary
#0A0F49 #49250A #2F490A
monochromatic
#04061B #04061B #0A0F49 #111A7F #1925B5

Accessibility & contrast

On white

17.84
#0A0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0F49
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F49#FFFFFF#000000##FFFFFF
##0A0F491.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a0f49;
/* rgb */ color: rgb(10, 15, 73);
/* oklch */ color: oklch(21.6% 0.105 270.2);
Tailwind
colors: {
  custom: {
    50: '#564d7c',
    500: '#0a0f49',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f49;
$custom-light: #564d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f49",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 235.238,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21605,
    "c": 0.10523,
    "h": 270.2
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#0A0F49
secondary
#867E29
accent
#E335F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0A0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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