#0B2552#0B2552

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

Color values

HEX#0B2552
RGBrgb(11, 37, 82)
HSLhsl(218, 76%, 18%)
HSVhsv(218, 87%, 32%)
CMYKcmyk(86.6%, 54.9%, 0%, 67.8%)
CIE-LABlab(15.50, 9.29, -30.30)
CIE-LCHlch(15.50, 31.69, 287.04°)
OKLaboklab(27.47% -0.0145 -0.0872)
OKLCHoklch(27.47% 0.088 260.6)
XYZxyz(2.3220, 2.0032, 8.2453)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2552 #52380B
analogous
#0B4852 #0B2552 #140B52
triadic
#0B2552 #520B25 #25520B
tetradic
#0B2552 #520B48 #52380B #0B5214
square
#0B2552 #520B48 #52380B #0B5214
split-complementary
#0B2552 #52140B #48520B
monochromatic
#040C1B #040D1C #0B2552 #123D88 #1956BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B2552#FFFFFF#000000##FFFFFF
##0B25521.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)
#092A54
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0b2552;
/* rgb */ color: rgb(11, 37, 82);
/* oklch */ color: oklch(27.5% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#575e83',
    500: '#0b2552',
    950: '#000000',
  },
}
SCSS
$custom: #0b2552;
$custom-light: #575e83;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2552",
  "rgb": {
    "r": 11,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 218.028,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27465,
    "c": 0.08839,
    "h": 260.6
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#0B2552
secondary
#8E6A2B
accent
#AD35F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B2552

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

Preview Lab → · Contrast checker → · Palette generator →

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