#0F0B4D#0F0B4D

#0F0B4D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.114 H 274.1°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#0F0B4D
RGBrgb(15, 11, 77)
HSLhsl(244, 75%, 17%)
HSVhsv(244, 86%, 30%)
CMYKcmyk(80.5%, 85.7%, 0%, 69.8%)
CIE-LABlab(7.92, 26.52, -39.27)
CIE-LCHlch(7.92, 47.38, 304.03°)
OKLaboklab(21.78% 0.0081 -0.1136)
OKLCHoklch(21.78% 0.114 274.1)
XYZxyz(1.6558, 0.8766, 7.1017)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B4D #494D0B
analogous
#0B284D #0F0B4D #300B4D
triadic
#0F0B4D #4D0F0B #0B4D0F
tetradic
#0F0B4D #4D0B28 #494D0B #0B4D30
square
#0F0B4D #4D0B28 #494D0B #0B4D30
split-complementary
#0F0B4D #4D300B #284D0B
monochromatic
#05041B #05041B #0F0B4D #191383 #241AB8

Accessibility & contrast

On white

17.87
#0F0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F0B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B4D
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B4D#FFFFFF#000000##FFFFFF
##0F0B4D1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4F
Deuteranopia (green-blind)
#00144C
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0b4d;
/* rgb */ color: rgb(15, 11, 77);
/* oklch */ color: oklch(21.8% 0.114 274.1);
Tailwind
colors: {
  custom: {
    50: '#5a4b80',
    500: '#0f0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b4d;
$custom-light: #5a4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b4d",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 243.636,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.21775,
    "c": 0.11388,
    "h": 274.1
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#0F0B4D
secondary
#83892B
accent
#F236E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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