#0F0B3D#0F0B3D

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

Color values

HEX#0F0B3D
RGBrgb(15, 11, 61)
HSLhsl(245, 69%, 14%)
HSVhsv(245, 82%, 24%)
CMYKcmyk(75.4%, 82%, 0%, 76.1%)
CIE-LABlab(6.12, 19.72, -30.92)
CIE-LCHlch(6.12, 36.68, 302.53°)
OKLaboklab(19.8% 0.0121 -0.0901)
OKLCHoklch(19.8% 0.091 277.7)
XYZxyz(1.1587, 0.6777, 4.4837)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B3D #393D0B
analogous
#0B203D #0F0B3D #280B3D
triadic
#0F0B3D #3D0F0B #0B3D0F
tetradic
#0F0B3D #3D0B20 #393D0B #0B3D28
square
#0F0B3D #3D0B20 #393D0B #0B3D28
split-complementary
#0F0B3D #3D280B #203D0B
monochromatic
#06051A #06051A #0F0B3D #1C1471 #291EA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F0B3D#FFFFFF#000000##FFFFFF
##0F0B3D1.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)
#00163E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0b3d;
/* rgb */ color: rgb(15, 11, 61);
/* oklch */ color: oklch(19.8% 0.091 277.7);
Tailwind
colors: {
  custom: {
    50: '#554b73',
    500: '#0f0b3d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b3d;
$custom-light: #554b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b3d",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 244.8,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19801,
    "c": 0.09095,
    "h": 277.7
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#0F0B3D
secondary
#737A2A
accent
#EC3CDE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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