#0B2142#0B2142

#0B2142 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.1% C 0.068 H 258.5°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#0B2142
RGBrgb(11, 33, 66)
HSLhsl(216, 71%, 15%)
HSVhsv(216, 83%, 26%)
CMYKcmyk(83.3%, 50%, 0%, 74.1%)
CIE-LABlab(12.93, 5.13, -23.43)
CIE-LCHlch(12.93, 23.99, 282.36°)
OKLaboklab(25.1% -0.0136 -0.0671)
OKLCHoklch(25.1% 0.068 258.5)
XYZxyz(1.6649, 1.5520, 5.3650)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2142 #422C0B
analogous
#0B3C42 #0B2142 #100B42
triadic
#0B2142 #420B21 #21420B
tetradic
#0B2142 #420B3C #422C0B #0B4210
square
#0B2142 #420B3C #422C0B #0B4210
split-complementary
#0B2142 #42100B #3C420B
monochromatic
#040D1A #040D1A #0B2142 #143B76 #1C55AB

Accessibility & contrast

On white

16.03
#0B2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0B2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2142
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2142#FFFFFF#000000##FFFFFF
##0B21421.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b2142;
/* rgb */ color: rgb(11, 33, 66);
/* oklch */ color: oklch(25.1% 0.068 258.5);
Tailwind
colors: {
  custom: {
    50: '#535b76',
    500: '#0b2142',
    950: '#000000',
  },
}
SCSS
$custom: #0b2142;
$custom-light: #535b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2142",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25096,
    "c": 0.06846,
    "h": 258.5
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#0B2142
secondary
#7F5D2A
accent
#A63AEE
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0B2142

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

Preview Lab → · Contrast checker → · Palette generator →

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