#0B2140#0B2140

#0B2140 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.065 H 257.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#0B2140
RGBrgb(11, 33, 64)
HSLhsl(215, 71%, 15%)
HSVhsv(215, 83%, 25%)
CMYKcmyk(82.8%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.79, 4.23, -22.27)
CIE-LCHlch(12.79, 22.67, 280.76°)
OKLaboklab(24.94% -0.0141 -0.0637)
OKLCHoklch(24.94% 0.065 257.5)
XYZxyz(1.6069, 1.5288, 5.0599)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2140 #402A0B
analogous
#0B3C40 #0B2140 #0F0B40
triadic
#0B2140 #400B21 #21400B
tetradic
#0B2140 #400B3C #402A0B #0B400F
square
#0B2140 #400B3C #402A0B #0B400F
split-complementary
#0B2140 #400F0B #3C400B
monochromatic
#040D1A #040D1A #0B2140 #143C74 #1D57A8

Accessibility & contrast

On white

16.08
#0B2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2140
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2140#FFFFFF#000000##FFFFFF
##0B21401.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b2140;
/* rgb */ color: rgb(11, 33, 64);
/* oklch */ color: oklch(24.9% 0.065 257.5);
Tailwind
colors: {
  custom: {
    50: '#525b75',
    500: '#0b2140',
    950: '#000000',
  },
}
SCSS
$custom: #0b2140;
$custom-light: #525b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2140",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 215.094,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24938,
    "c": 0.0652,
    "h": 257.5
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#0B2140
secondary
#7D5A2A
accent
#A33AED
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0B2140

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

Preview Lab → · Contrast checker → · Palette generator →

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