#0F0B4C#0F0B4C

#0F0B4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.113 H 274.3°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#0F0B4C
RGBrgb(15, 11, 76)
HSLhsl(244, 75%, 17%)
HSVhsv(244, 86%, 30%)
CMYKcmyk(80.3%, 85.5%, 0%, 70.2%)
CIE-LABlab(7.79, 26.15, -38.78)
CIE-LCHlch(7.79, 46.77, 303.99°)
OKLaboklab(21.65% 0.0084 -0.1122)
OKLCHoklch(21.65% 0.113 274.3)
XYZxyz(1.6207, 0.8625, 6.9171)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B4C #484C0B
analogous
#0B284C #0F0B4C #300B4C
triadic
#0F0B4C #4C0F0B #0B4C0F
tetradic
#0F0B4C #4C0B28 #484C0B #0B4C30
square
#0F0B4C #4C0B28 #484C0B #0B4C30
split-complementary
#0F0B4C #4C300B #284C0B
monochromatic
#05041B #05041B #0F0B4C #1A1381 #241AB7

Accessibility & contrast

On white

17.91
#0F0B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0B4C
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B4C#FFFFFF#000000##FFFFFF
##0F0B4C1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4E
Deuteranopia (green-blind)
#00144B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0b4c;
/* rgb */ color: rgb(15, 11, 76);
/* oklch */ color: oklch(21.6% 0.113 274.3);
Tailwind
colors: {
  custom: {
    50: '#5a4b7f',
    500: '#0f0b4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b4c;
$custom-light: #5a4b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b4c",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 243.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21647,
    "c": 0.1125,
    "h": 274.3
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#0F0B4C
secondary
#82882B
accent
#F136E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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