#0B2852#0B2852

#0B2852 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.084 H 258.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#0B2852
RGBrgb(11, 40, 82)
HSLhsl(215, 76%, 18%)
HSVhsv(215, 87%, 32%)
CMYKcmyk(86.6%, 51.2%, 0%, 67.8%)
CIE-LABlab(16.49, 7.03, -28.70)
CIE-LCHlch(16.49, 29.55, 283.76°)
OKLaboklab(28.22% -0.0172 -0.0824)
OKLCHoklch(28.22% 0.084 258.2)
XYZxyz(2.4192, 2.1976, 8.2777)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2852 #52350B
analogous
#0B4B52 #0B2852 #110B52
triadic
#0B2852 #520B28 #28520B
tetradic
#0B2852 #520B4B #52350B #0B5211
square
#0B2852 #520B4B #52350B #0B5211
split-complementary
#0B2852 #52110B #4B520B
monochromatic
#040D1B #040E1C #0B2852 #124288 #195DBE

Accessibility & contrast

On white

14.59
#0B2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0B2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2852
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2852#FFFFFF#000000##FFFFFF
##0B28521.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C54
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b2852;
/* rgb */ color: rgb(11, 40, 82);
/* oklch */ color: oklch(28.2% 0.084 258.2);
Tailwind
colors: {
  custom: {
    50: '#576183',
    500: '#0b2852',
    950: '#000000',
  },
}
SCSS
$custom: #0b2852;
$custom-light: #576183;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2852",
  "rgb": {
    "r": 11,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 215.493,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28223,
    "c": 0.08421,
    "h": 258.2
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#0B2852
secondary
#8E652B
accent
#A535F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0B2852

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

Preview Lab → · Contrast checker → · Palette generator →

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