#0F0B3E#0F0B3E

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

Color values

HEX#0F0B3E
RGBrgb(15, 11, 62)
HSLhsl(245, 70%, 14%)
HSVhsv(245, 82%, 24%)
CMYKcmyk(75.8%, 82.3%, 0%, 75.7%)
CIE-LABlab(6.22, 20.19, -31.48)
CIE-LCHlch(6.22, 37.40, 302.68°)
OKLaboklab(19.92% 0.0119 -0.0917)
OKLCHoklch(19.92% 0.092 277.4)
XYZxyz(1.1859, 0.6886, 4.6269)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B3E #3A3E0B
analogous
#0B213E #0F0B3E #290B3E
triadic
#0F0B3E #3E0F0B #0B3E0F
tetradic
#0F0B3E #3E0B21 #3A3E0B #0B3E29
square
#0F0B3E #3E0B21 #3A3E0B #0B3E29
split-complementary
#0F0B3E #3E290B #213E0B
monochromatic
#06051A #06051A #0F0B3E #1C1472 #281DA6

Accessibility & contrast

On white

18.46
#0F0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0B3E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B3E#FFFFFF#000000##FFFFFF
##0F0B3E1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0b3e;
/* rgb */ color: rgb(15, 11, 62);
/* oklch */ color: oklch(19.9% 0.092 277.4);
Tailwind
colors: {
  custom: {
    50: '#554b74',
    500: '#0f0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b3e;
$custom-light: #554b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b3e",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 244.706,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19919,
    "c": 0.09244,
    "h": 277.4
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#0F0B3E
secondary
#747B2A
accent
#ED3BDF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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