#0B2556#0B2556

#0B2556 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.095 H 261.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0B2556
RGBrgb(11, 37, 86)
HSLhsl(219, 77%, 19%)
HSVhsv(219, 87%, 34%)
CMYKcmyk(87.2%, 57%, 0%, 66.3%)
CIE-LABlab(15.83, 11.08, -32.47)
CIE-LCHlch(15.83, 34.31, 288.84°)
OKLaboklab(27.82% -0.0139 -0.0936)
OKLCHoklch(27.82% 0.095 261.6)
XYZxyz(2.4787, 2.0659, 9.0704)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2556 #563C0B
analogous
#0B4B56 #0B2556 #170B56
triadic
#0B2556 #560B25 #25560B
tetradic
#0B2556 #560B4B #563C0B #0B5617
square
#0B2556 #560B4B #563C0B #0B5617
split-complementary
#0B2556 #56170B #4B560B
monochromatic
#030C1B #040E20 #0B2556 #123C8C #1954C3

Accessibility & contrast

On white

14.86
#0B2556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0B2556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2556
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2556#FFFFFF#000000##FFFFFF
##0B25561.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0b2556;
/* rgb */ color: rgb(11, 37, 86);
/* oklch */ color: oklch(27.8% 0.095 261.6);
Tailwind
colors: {
  custom: {
    50: '#595e86',
    500: '#0b2556',
    950: '#000000',
  },
}
SCSS
$custom: #0b2556;
$custom-light: #595e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2556",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 219.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.09462,
    "h": 261.6
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#0B2556
secondary
#916E2B
accent
#B134F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2556

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

Preview Lab → · Contrast checker → · Palette generator →

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