#0A0F45#0A0F45

#0A0F45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.099 H 270.5°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#0A0F45
RGBrgb(10, 15, 69)
HSLhsl(235, 75%, 15%)
HSVhsv(235, 86%, 27%)
CMYKcmyk(85.5%, 78.3%, 0%, 72.9%)
CIE-LABlab(7.55, 20.17, -34.30)
CIE-LCHlch(7.55, 39.79, 300.47°)
OKLaboklab(21.12% 0.0009 -0.0993)
OKLCHoklch(21.12% 0.099 270.5)
XYZxyz(1.3698, 0.8357, 5.7182)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F45 #45400A
analogous
#0A2C45 #0A0F45 #220A45
triadic
#0A0F45 #450A0F #0F450A
tetradic
#0A0F45 #450A2C #45400A #0A4522
square
#0A0F45 #450A2C #45400A #0A4522
split-complementary
#0A0F45 #45220A #2C450A
monochromatic
#04061B #04061B #0A0F45 #121B7A #1926B0

Accessibility & contrast

On white

17.99
#0A0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0A0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F45
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F45#FFFFFF#000000##FFFFFF
##0A0F451.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a0f45;
/* rgb */ color: rgb(10, 15, 69);
/* oklch */ color: oklch(21.1% 0.099 270.5);
Tailwind
colors: {
  custom: {
    50: '#554d79',
    500: '#0a0f45',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f45;
$custom-light: #554d79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f45",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 234.915,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21123,
    "c": 0.09932,
    "h": 270.5
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#0A0F45
secondary
#827A29
accent
#E136F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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