#0B204F#0B204F

#0B204F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.091 H 263.3°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#0B204F
RGBrgb(11, 32, 79)
HSLhsl(221, 76%, 18%)
HSVhsv(221, 86%, 31%)
CMYKcmyk(86.1%, 59.5%, 0%, 69%)
CIE-LABlab(13.64, 11.76, -31.27)
CIE-LCHlch(13.64, 33.41, 290.61°)
OKLaboklab(25.97% -0.0106 -0.0902)
OKLCHoklch(25.97% 0.091 263.3)
XYZxyz(2.0653, 1.6684, 7.6088)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B204F #4F3A0B
analogous
#0B424F #0B204F #180B4F
triadic
#0B204F #4F0B20 #204F0B
tetradic
#0B204F #4F0B42 #4F3A0B #0B4F18
square
#0B204F #4F0B42 #4F3A0B #0B4F18
split-complementary
#0B204F #4F180B #424F0B
monochromatic
#040B1B #040B1B #0B204F #123685 #1A4CBA

Accessibility & contrast

On white

15.74
#0B204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B204F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B204F#FFFFFF#000000##FFFFFF
##0B204F1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b204f;
/* rgb */ color: rgb(11, 32, 79);
/* oklch */ color: oklch(26.0% 0.091 263.3);
Tailwind
colors: {
  custom: {
    50: '#575a81',
    500: '#0b204f',
    950: '#000000',
  },
}
SCSS
$custom: #0b204f;
$custom-light: #575a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b204f",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 221.471,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25968,
    "c": 0.0908,
    "h": 263.3
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#0B204F
secondary
#8B6D2B
accent
#B836F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B204F

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

Preview Lab → · Contrast checker → · Palette generator →

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