#0B0E42#0B0E42

#0B0E42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.096 H 271.9°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0B0E42
RGBrgb(11, 14, 66)
HSLhsl(237, 71%, 15%)
HSVhsv(237, 83%, 26%)
CMYKcmyk(83.3%, 78.8%, 0%, 74.1%)
CIE-LABlab(7.03, 19.63, -33.02)
CIE-LCHlch(7.03, 38.41, 300.73°)
OKLaboklab(20.64% 0.0032 -0.0957)
OKLCHoklch(20.64% 0.096 271.9)
XYZxyz(1.2781, 0.7784, 5.2361)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0E42 #423F0B
analogous
#0B2A42 #0B0E42 #230B42
triadic
#0B0E42 #420B0E #0E420B
tetradic
#0B0E42 #420B2A #423F0B #0B4223
square
#0B0E42 #420B2A #423F0B #0B4223
split-complementary
#0B0E42 #42230B #2A420B
monochromatic
#04061A #04061A #0B0E42 #141976 #1C24AB

Accessibility & contrast

On white

18.17
#0B0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0E42
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0E42#FFFFFF#000000##FFFFFF
##0B0E421.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0e42;
/* rgb */ color: rgb(11, 14, 66);
/* oklch */ color: oklch(20.6% 0.096 271.9);
Tailwind
colors: {
  custom: {
    50: '#554c77',
    500: '#0b0e42',
    950: '#000000',
  },
}
SCSS
$custom: #0b0e42;
$custom-light: #554c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0e42",
  "rgb": {
    "r": 11,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 236.727,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20638,
    "c": 0.09579,
    "h": 271.9
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#0B0E42
secondary
#7F7A2A
accent
#E43AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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