#0B2452#0B2452

#0B2452 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.090 H 261.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0B2452
RGBrgb(11, 36, 82)
HSLhsl(219, 76%, 18%)
HSVhsv(219, 87%, 32%)
CMYKcmyk(86.6%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.18, 10.05, -30.82)
CIE-LCHlch(15.18, 32.42, 288.05°)
OKLaboklab(27.22% -0.0136 -0.0888)
OKLCHoklch(27.22% 0.09 261.3)
XYZxyz(2.2913, 1.9418, 8.2351)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2452 #52390B
analogous
#0B4752 #0B2452 #150B52
triadic
#0B2452 #520B24 #24520B
tetradic
#0B2452 #520B47 #52390B #0B5215
square
#0B2452 #520B47 #52390B #0B5215
split-complementary
#0B2452 #52150B #47520B
monochromatic
#040C1B #040C1C #0B2452 #123C88 #1953BE

Accessibility & contrast

On white

15.13
#0B2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0B2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2452
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2452#FFFFFF#000000##FFFFFF
##0B24521.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062954
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0b2452;
/* rgb */ color: rgb(11, 36, 82);
/* oklch */ color: oklch(27.2% 0.090 261.3);
Tailwind
colors: {
  custom: {
    50: '#575e83',
    500: '#0b2452',
    950: '#000000',
  },
}
SCSS
$custom: #0b2452;
$custom-light: #575e83;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2452",
  "rgb": {
    "r": 11,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 218.873,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27216,
    "c": 0.08981,
    "h": 261.3
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#0B2452
secondary
#8E6B2B
accent
#B035F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B2452

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

Preview Lab → · Contrast checker → · Palette generator →

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