#0F0A3F#0F0A3F

#0F0A3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.095 H 277.5°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#0F0A3F
RGBrgb(15, 10, 63)
HSLhsl(246, 73%, 14%)
HSVhsv(246, 84%, 25%)
CMYKcmyk(76.2%, 84.1%, 0%, 75.3%)
CIE-LABlab(6.12, 21.17, -32.36)
CIE-LCHlch(6.12, 38.67, 303.19°)
OKLaboklab(19.87% 0.0124 -0.0943)
OKLCHoklch(19.87% 0.095 277.5)
XYZxyz(1.2025, 0.6774, 4.7690)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A3F #3A3F0A
analogous
#0A203F #0F0A3F #2A0A3F
triadic
#0F0A3F #3F0F0A #0A3F0F
tetradic
#0F0A3F #3F0A20 #3A3F0A #0A3F2A
square
#0F0A3F #3F0A20 #3A3F0A #0A3F2A
split-complementary
#0F0A3F #3F2A0A #203F0A
monochromatic
#06041A #06041A #0F0A3F #1C1274 #281BA9

Accessibility & contrast

On white

18.49
#0F0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0A3F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A3F#FFFFFF#000000##FFFFFF
##0F0A3F1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0a3f;
/* rgb */ color: rgb(15, 10, 63);
/* oklch */ color: oklch(19.9% 0.095 277.5);
Tailwind
colors: {
  custom: {
    50: '#564a75',
    500: '#0f0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a3f;
$custom-light: #564a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a3f",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 245.66,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.1987,
    "c": 0.09515,
    "h": 277.5
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#0F0A3F
secondary
#747C29
accent
#EF38DE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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