#0F0A45#0F0A45

#0F0A45 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.6% C 0.104 H 276.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#0F0A45
RGBrgb(15, 10, 69)
HSLhsl(245, 75%, 15%)
HSVhsv(245, 86%, 27%)
CMYKcmyk(78.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(6.76, 23.86, -35.58)
CIE-LCHlch(6.76, 42.84, 303.85°)
OKLaboklab(20.61% 0.0108 -0.1032)
OKLCHoklch(20.61% 0.104 276)
XYZxyz(1.3794, 0.7482, 5.7008)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A45 #40450A
analogous
#0A2245 #0F0A45 #2C0A45
triadic
#0F0A45 #450F0A #0A450F
tetradic
#0F0A45 #450A22 #40450A #0A452C
square
#0F0A45 #450A22 #40450A #0A452C
split-complementary
#0F0A45 #452C0A #22450A
monochromatic
#06041B #06041B #0F0A45 #1B127A #2619B0

Accessibility & contrast

On white

18.27
#0F0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0A45
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A45#FFFFFF#000000##FFFFFF
##0F0A451.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001747
Deuteranopia (green-blind)
#001244
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0a45;
/* rgb */ color: rgb(15, 10, 69);
/* oklch */ color: oklch(20.6% 0.104 276.0);
Tailwind
colors: {
  custom: {
    50: '#574a79',
    500: '#0f0a45',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a45;
$custom-light: #574a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a45",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 245.085,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20612,
    "c": 0.10378,
    "h": 276
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#0F0A45
secondary
#7A8229
accent
#F136E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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