#0F0B4B#0F0B4B

#0F0B4B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.5% C 0.111 H 274.5°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0F0B4B
RGBrgb(15, 11, 75)
HSLhsl(244, 74%, 17%)
HSVhsv(244, 85%, 29%)
CMYKcmyk(80%, 85.3%, 0%, 70.6%)
CIE-LABlab(7.67, 25.77, -38.29)
CIE-LCHlch(7.67, 46.16, 303.94°)
OKLaboklab(21.52% 0.0087 -0.1108)
OKLCHoklch(21.52% 0.111 274.5)
XYZxyz(1.5863, 0.8487, 6.7355)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B4B #474B0B
analogous
#0B274B #0F0B4B #2F0B4B
triadic
#0F0B4B #4B0F0B #0B4B0F
tetradic
#0F0B4B #4B0B27 #474B0B #0B4B2F
square
#0F0B4B #4B0B27 #474B0B #0B4B2F
split-complementary
#0F0B4B #4B2F0B #274B0B
monochromatic
#05041B #05041B #0F0B4B #1A1380 #241BB6

Accessibility & contrast

On white

17.95
#0F0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B4B
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B4B#FFFFFF#000000##FFFFFF
##0F0B4B1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00144A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0b4b;
/* rgb */ color: rgb(15, 11, 75);
/* oklch */ color: oklch(21.5% 0.111 274.5);
Tailwind
colors: {
  custom: {
    50: '#594b7e',
    500: '#0f0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b4b;
$custom-light: #594b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b4b",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 243.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2152,
    "c": 0.11112,
    "h": 274.5
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#0F0B4B
secondary
#81872B
accent
#F137E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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