#0B2A56#0B2A56

#0B2A56 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.088 H 258.0°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0B2A56
RGBrgb(11, 42, 86)
HSLhsl(215, 77%, 19%)
HSVhsv(215, 87%, 34%)
CMYKcmyk(87.2%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.45, 7.32, -29.85)
CIE-LCHlch(17.45, 30.73, 283.79°)
OKLaboklab(29.06% -0.0182 -0.0858)
OKLCHoklch(29.06% 0.088 258)
XYZxyz(2.6451, 2.3986, 9.1259)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A56 #56370B
analogous
#0B5056 #0B2A56 #120B56
triadic
#0B2A56 #560B2A #2A560B
tetradic
#0B2A56 #560B50 #56370B #0B5612
square
#0B2A56 #560B50 #56370B #0B5612
split-complementary
#0B2A56 #56120B #50560B
monochromatic
#030D1B #041020 #0B2A56 #12448C #195FC3

Accessibility & contrast

On white

14.19
#0B2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0B2A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2A56
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A56#FFFFFF#000000##FFFFFF
##0B2A561.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#002855
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0b2a56;
/* rgb */ color: rgb(11, 42, 86);
/* oklch */ color: oklch(29.1% 0.088 258.0);
Tailwind
colors: {
  custom: {
    50: '#586386',
    500: '#0b2a56',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a56;
$custom-light: #586386;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a56",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 215.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2906,
    "c": 0.08767,
    "h": 258
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#0B2A56
secondary
#91672B
accent
#A534F4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0B2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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