#0B2056#0B2056

#0B2056 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.102 H 264.3°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#0B2056
RGBrgb(11, 32, 86)
HSLhsl(223, 77%, 19%)
HSVhsv(223, 87%, 34%)
CMYKcmyk(87.2%, 62.8%, 0%, 66.3%)
CIE-LABlab(14.26, 14.88, -35.01)
CIE-LCHlch(14.26, 38.04, 293.02°)
OKLaboklab(26.63% -0.01 -0.1012)
OKLCHoklch(26.63% 0.102 264.3)
XYZxyz(2.3336, 1.7758, 9.0221)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2056 #56410B
analogous
#0B4656 #0B2056 #1C0B56
triadic
#0B2056 #560B20 #20560B
tetradic
#0B2056 #560B46 #56410B #0B561C
square
#0B2056 #560B46 #56410B #0B561C
split-complementary
#0B2056 #561C0B #46560B
monochromatic
#030A1B #040C20 #0B2056 #12348C #1948C3

Accessibility & contrast

On white

15.50
#0B2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0B2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2056
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2056#FFFFFF#000000##FFFFFF
##0B20561.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b2056;
/* rgb */ color: rgb(11, 32, 86);
/* oklch */ color: oklch(26.6% 0.102 264.3);
Tailwind
colors: {
  custom: {
    50: '#595a86',
    500: '#0b2056',
    950: '#000000',
  },
}
SCSS
$custom: #0b2056;
$custom-light: #595a86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2056",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 223.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26632,
    "c": 0.10166,
    "h": 264.3
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#0B2056
secondary
#91752B
accent
#BE34F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2056

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

Preview Lab → · Contrast checker → · Palette generator →

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