#0B0F4A#0B0F4A

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

Color values

HEX#0B0F4A
RGBrgb(11, 15, 74)
HSLhsl(236, 74%, 17%)
HSVhsv(236, 85%, 29%)
CMYKcmyk(85.1%, 79.7%, 0%, 71%)
CIE-LABlab(8.19, 22.37, -36.74)
CIE-LCHlch(8.19, 43.01, 301.34°)
OKLaboklab(21.79% 0.0014 -0.1064)
OKLCHoklch(21.79% 0.106 270.7)
XYZxyz(1.5444, 0.9070, 6.5709)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F4A #4A460B
analogous
#0B2F4A #0B0F4A #270B4A
triadic
#0B0F4A #4A0B0F #0F4A0B
tetradic
#0B0F4A #4A0B2F #4A460B #0B4A27
square
#0B0F4A #4A0B2F #4A460B #0B4A27
split-complementary
#0B0F4A #4A270B #2F4A0B
monochromatic
#04051B #04051B #0B0F4A #131A7F #1B25B5

Accessibility & contrast

On white

17.78
#0B0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0F4A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F4A#FFFFFF#000000##FFFFFF
##0B0F4A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b0f4a;
/* rgb */ color: rgb(11, 15, 74);
/* oklch */ color: oklch(21.8% 0.106 270.7);
Tailwind
colors: {
  custom: {
    50: '#574d7d',
    500: '#0b0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f4a;
$custom-light: #574d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f4a",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 236.19,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21785,
    "c": 0.10638,
    "h": 270.7
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#0B0F4A
secondary
#86802B
accent
#E537F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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