#0B2256#0B2256

#0B2256 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.099 H 263.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0B2256
RGBrgb(11, 34, 86)
HSLhsl(222, 77%, 19%)
HSVhsv(222, 87%, 34%)
CMYKcmyk(87.2%, 60.5%, 0%, 66.3%)
CIE-LABlab(14.88, 13.36, -34.01)
CIE-LCHlch(14.88, 36.54, 291.44°)
OKLaboklab(27.1% -0.0115 -0.0982)
OKLCHoklch(27.1% 0.099 263.3)
XYZxyz(2.3892, 1.8868, 9.0406)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2256 #563F0B
analogous
#0B4856 #0B2256 #1A0B56
triadic
#0B2256 #560B22 #22560B
tetradic
#0B2256 #560B48 #563F0B #0B561A
square
#0B2256 #560B48 #563F0B #0B561A
split-complementary
#0B2256 #561A0B #48560B
monochromatic
#030B1B #040D20 #0B2256 #12378C #194DC3

Accessibility & contrast

On white

15.25
#0B2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0B2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2256
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2256#FFFFFF#000000##FFFFFF
##0B22561.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0b2256;
/* rgb */ color: rgb(11, 34, 86);
/* oklch */ color: oklch(27.1% 0.099 263.3);
Tailwind
colors: {
  custom: {
    50: '#595c86',
    500: '#0b2256',
    950: '#000000',
  },
}
SCSS
$custom: #0b2256;
$custom-light: #595c86;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2256",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 221.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27098,
    "c": 0.09885,
    "h": 263.3
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#0B2256
secondary
#91722B
accent
#B934F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2256

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

Preview Lab → · Contrast checker → · Palette generator →

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