#0B204D#0B204D

#0B204D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.088 H 262.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0B204D
RGBrgb(11, 32, 77)
HSLhsl(221, 75%, 17%)
HSVhsv(221, 86%, 30%)
CMYKcmyk(85.7%, 58.4%, 0%, 69.8%)
CIE-LABlab(13.47, 10.86, -30.18)
CIE-LCHlch(13.47, 32.08, 289.79°)
OKLaboklab(25.78% -0.0108 -0.087)
OKLCHoklch(25.78% 0.088 262.9)
XYZxyz(1.9936, 1.6398, 7.2312)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B204D #4D380B
analogous
#0B414D #0B204D #170B4D
triadic
#0B204D #4D0B20 #204D0B
tetradic
#0B204D #4D0B41 #4D380B #0B4D17
square
#0B204D #4D0B41 #4D380B #0B4D17
split-complementary
#0B204D #4D170B #414D0B
monochromatic
#040B1B #040B1B #0B204D #133683 #1A4DB8

Accessibility & contrast

On white

15.81
#0B204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0B204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B204D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B204D#FFFFFF#000000##FFFFFF
##0B204D1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b204d;
/* rgb */ color: rgb(11, 32, 77);
/* oklch */ color: oklch(25.8% 0.088 262.9);
Tailwind
colors: {
  custom: {
    50: '#565a7f',
    500: '#0b204d',
    950: '#000000',
  },
}
SCSS
$custom: #0b204d;
$custom-light: #565a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b204d",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 220.909,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25784,
    "c": 0.08764,
    "h": 262.9
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#0B204D
secondary
#896B2B
accent
#B636F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B204D

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

Preview Lab → · Contrast checker → · Palette generator →

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