#0B2156#0B2156

#0B2156 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.100 H 263.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#0B2156
RGBrgb(11, 33, 86)
HSLhsl(222, 77%, 19%)
HSVhsv(222, 87%, 34%)
CMYKcmyk(87.2%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.57, 14.12, -34.51)
CIE-LCHlch(14.57, 37.29, 292.24°)
OKLaboklab(26.86% -0.0108 -0.0997)
OKLCHoklch(26.86% 0.1 263.8)
XYZxyz(2.3610, 1.8305, 9.0312)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2156 #56400B
analogous
#0B4756 #0B2156 #1B0B56
triadic
#0B2156 #560B21 #21560B
tetradic
#0B2156 #560B47 #56400B #0B561B
square
#0B2156 #560B47 #56400B #0B561B
split-complementary
#0B2156 #561B0B #47560B
monochromatic
#030A1B #040C20 #0B2156 #12368C #194BC3

Accessibility & contrast

On white

15.37
#0B2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0B2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2156
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2156#FFFFFF#000000##FFFFFF
##0B21561.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0b2156;
/* rgb */ color: rgb(11, 33, 86);
/* oklch */ color: oklch(26.9% 0.100 263.8);
Tailwind
colors: {
  custom: {
    50: '#595b86',
    500: '#0b2156',
    950: '#000000',
  },
}
SCSS
$custom: #0b2156;
$custom-light: #595b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2156",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 222.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26864,
    "c": 0.10026,
    "h": 263.8
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#0B2156
secondary
#91742B
accent
#BC34F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2156

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

Preview Lab → · Contrast checker → · Palette generator →

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