#0B204C#0B204C

#0B204C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.086 H 262.7°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#0B204C
RGBrgb(11, 32, 76)
HSLhsl(221, 75%, 17%)
HSVhsv(221, 86%, 30%)
CMYKcmyk(85.5%, 57.9%, 0%, 70.2%)
CIE-LABlab(13.39, 10.42, -29.63)
CIE-LCHlch(13.39, 31.41, 289.37°)
OKLaboklab(25.69% -0.0109 -0.0853)
OKLCHoklch(25.69% 0.086 262.7)
XYZxyz(1.9586, 1.6257, 7.0467)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B204C #4C370B
analogous
#0B414C #0B204C #160B4C
triadic
#0B204C #4C0B20 #204C0B
tetradic
#0B204C #4C0B41 #4C370B #0B4C16
square
#0B204C #4C0B41 #4C370B #0B4C16
split-complementary
#0B204C #4C160B #414C0B
monochromatic
#040B1B #040B1B #0B204C #133781 #1A4DB7

Accessibility & contrast

On white

15.85
#0B204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B204C
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B204C#FFFFFF#000000##FFFFFF
##0B204C1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b204c;
/* rgb */ color: rgb(11, 32, 76);
/* oklch */ color: oklch(25.7% 0.086 262.7);
Tailwind
colors: {
  custom: {
    50: '#565a7e',
    500: '#0b204c',
    950: '#000000',
  },
}
SCSS
$custom: #0b204c;
$custom-light: #565a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b204c",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 220.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25693,
    "c": 0.08604,
    "h": 262.7
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#0B204C
secondary
#886A2B
accent
#B536F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B204C

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

Preview Lab → · Contrast checker → · Palette generator →

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