#0B0D42#0B0D42

#0B0D42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.097 H 272.3°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#0B0D42
RGBrgb(11, 13, 66)
HSLhsl(238, 71%, 15%)
HSVhsv(238, 83%, 26%)
CMYKcmyk(83.3%, 80.3%, 0%, 74.1%)
CIE-LABlab(6.79, 20.24, -33.41)
CIE-LCHlch(6.79, 39.06, 301.21°)
OKLaboklab(20.45% 0.0038 -0.097)
OKLCHoklch(20.45% 0.097 272.3)
XYZxyz(1.2650, 0.7522, 5.2317)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0D42 #42400B
analogous
#0B2942 #0B0D42 #240B42
triadic
#0B0D42 #420B0D #0D420B
tetradic
#0B0D42 #420B29 #42400B #0B4224
square
#0B0D42 #420B29 #42400B #0B4224
split-complementary
#0B0D42 #42240B #29420B
monochromatic
#04051A #04051A #0B0D42 #141776 #1C22AB

Accessibility & contrast

On white

18.25
#0B0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0D42
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0D42#FFFFFF#000000##FFFFFF
##0B0D421.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001241
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0d42;
/* rgb */ color: rgb(11, 13, 66);
/* oklch */ color: oklch(20.4% 0.097 272.3);
Tailwind
colors: {
  custom: {
    50: '#554c77',
    500: '#0b0d42',
    950: '#000000',
  },
}
SCSS
$custom: #0b0d42;
$custom-light: #554c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0d42",
  "rgb": {
    "r": 11,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 237.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2045,
    "c": 0.09708,
    "h": 272.3
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#0B0D42
secondary
#7F7C2A
accent
#E83AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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