#0B2456#0B2456

#0B2456 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.096 H 262.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#0B2456
RGBrgb(11, 36, 86)
HSLhsl(220, 77%, 19%)
HSVhsv(220, 87%, 34%)
CMYKcmyk(87.2%, 58.1%, 0%, 66.3%)
CIE-LABlab(15.51, 11.84, -32.99)
CIE-LCHlch(15.51, 35.05, 289.74°)
OKLaboklab(27.57% -0.0131 -0.0951)
OKLCHoklch(27.57% 0.096 262.2)
XYZxyz(2.4480, 2.0045, 9.0602)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2456 #563D0B
analogous
#0B4A56 #0B2456 #180B56
triadic
#0B2456 #560B24 #24560B
tetradic
#0B2456 #560B4A #563D0B #0B5618
square
#0B2456 #560B4A #563D0B #0B5618
split-complementary
#0B2456 #56180B #4A560B
monochromatic
#030B1B #040D20 #0B2456 #123B8C #1951C3

Accessibility & contrast

On white

14.99
#0B2456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0B2456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2456
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2456#FFFFFF#000000##FFFFFF
##0B24561.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0b2456;
/* rgb */ color: rgb(11, 36, 86);
/* oklch */ color: oklch(27.6% 0.096 262.2);
Tailwind
colors: {
  custom: {
    50: '#595e86',
    500: '#0b2456',
    950: '#000000',
  },
}
SCSS
$custom: #0b2456;
$custom-light: #595e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2456",
  "rgb": {
    "r": 11,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 220,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27574,
    "c": 0.09603,
    "h": 262.2
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#0B2456
secondary
#916F2B
accent
#B434F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2456

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

Preview Lab → · Contrast checker → · Palette generator →

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