#0B2252#0B2252

#0B2252 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.093 H 262.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#0B2252
RGBrgb(11, 34, 82)
HSLhsl(221, 76%, 18%)
HSVhsv(221, 87%, 32%)
CMYKcmyk(86.6%, 58.5%, 0%, 67.8%)
CIE-LABlab(14.54, 11.57, -31.86)
CIE-LCHlch(14.54, 33.90, 289.96°)
OKLaboklab(26.73% -0.0119 -0.0919)
OKLCHoklch(26.73% 0.093 262.6)
XYZxyz(2.2325, 1.8241, 8.2154)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2252 #523B0B
analogous
#0B4552 #0B2252 #170B52
triadic
#0B2252 #520B22 #22520B
tetradic
#0B2252 #520B45 #523B0B #0B5217
square
#0B2252 #520B45 #523B0B #0B5217
split-complementary
#0B2252 #52170B #45520B
monochromatic
#040B1B #040C1C #0B2252 #123888 #194FBE

Accessibility & contrast

On white

15.39
#0B2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2252
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2252#FFFFFF#000000##FFFFFF
##0B22521.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0b2252;
/* rgb */ color: rgb(11, 34, 82);
/* oklch */ color: oklch(26.7% 0.093 262.6);
Tailwind
colors: {
  custom: {
    50: '#585c83',
    500: '#0b2252',
    950: '#000000',
  },
}
SCSS
$custom: #0b2252;
$custom-light: #585c83;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2252",
  "rgb": {
    "r": 11,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 220.563,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26727,
    "c": 0.09265,
    "h": 262.6
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#0B2252
secondary
#8E6E2B
accent
#B535F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B2252

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

Preview Lab → · Contrast checker → · Palette generator →

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