#0B2147#0B2147

#0B2147 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.077 H 260.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#0B2147
RGBrgb(11, 33, 71)
HSLhsl(218, 73%, 16%)
HSVhsv(218, 85%, 28%)
CMYKcmyk(84.5%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.31, 7.39, -26.30)
CIE-LCHlch(13.31, 27.32, 285.69°)
OKLaboklab(25.51% -0.0126 -0.0755)
OKLCHoklch(25.51% 0.077 260.5)
XYZxyz(1.8188, 1.6136, 6.1756)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2147 #47310B
analogous
#0B3F47 #0B2147 #130B47
triadic
#0B2147 #470B21 #21470B
tetradic
#0B2147 #470B3F #47310B #0B4713
square
#0B2147 #470B3F #47310B #0B4713
split-complementary
#0B2147 #47130B #3F470B
monochromatic
#040C1A #040C1A #0B2147 #133A7C #1B52B1

Accessibility & contrast

On white

15.88
#0B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2147
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2147#FFFFFF#000000##FFFFFF
##0B21471.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#002046
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b2147;
/* rgb */ color: rgb(11, 33, 71);
/* oklch */ color: oklch(25.5% 0.077 260.5);
Tailwind
colors: {
  custom: {
    50: '#545b7a',
    500: '#0b2147',
    950: '#000000',
  },
}
SCSS
$custom: #0b2147;
$custom-light: #545b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2147",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 218,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25509,
    "c": 0.07659,
    "h": 260.5
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#0B2147
secondary
#83632A
accent
#AC38F0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0B2147

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

Preview Lab → · Contrast checker → · Palette generator →

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