#0B0F4C#0B0F4C

#0B0F4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.109 H 270.5°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0B0F4C
RGBrgb(11, 15, 76)
HSLhsl(236, 75%, 17%)
HSVhsv(236, 86%, 30%)
CMYKcmyk(85.5%, 80.3%, 0%, 70.2%)
CIE-LABlab(8.43, 23.17, -37.73)
CIE-LCHlch(8.43, 44.28, 301.56°)
OKLaboklab(22.03% 0.001 -0.1093)
OKLCHoklch(22.03% 0.109 270.5)
XYZxyz(1.6129, 0.9344, 6.9314)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F4C #4C480B
analogous
#0B304C #0B0F4C #280B4C
triadic
#0B0F4C #4C0B0F #0F4C0B
tetradic
#0B0F4C #4C0B30 #4C480B #0B4C28
square
#0B0F4C #4C0B30 #4C480B #0B4C28
split-complementary
#0B0F4C #4C280B #304C0B
monochromatic
#04051B #04051B #0B0F4C #131A81 #1A24B7

Accessibility & contrast

On white

17.69
#0B0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0B0F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F4C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F4C#FFFFFF#000000##FFFFFF
##0B0F4C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00154B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b0f4c;
/* rgb */ color: rgb(11, 15, 76);
/* oklch */ color: oklch(22.0% 0.109 270.5);
Tailwind
colors: {
  custom: {
    50: '#584d7f',
    500: '#0b0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f4c;
$custom-light: #584d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f4c",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 236.308,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2203,
    "c": 0.10927,
    "h": 270.5
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#0B0F4C
secondary
#88822B
accent
#E636F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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