#0B214C#0B214C

#0B214C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.085 H 262.0°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#0B214C
RGBrgb(11, 33, 76)
HSLhsl(220, 75%, 17%)
HSVhsv(220, 86%, 30%)
CMYKcmyk(85.5%, 56.6%, 0%, 70.2%)
CIE-LABlab(13.71, 9.65, -29.11)
CIE-LCHlch(13.71, 30.66, 288.33°)
OKLaboklab(25.94% -0.0118 -0.0838)
OKLCHoklch(25.94% 0.085 262)
XYZxyz(1.9859, 1.6804, 7.0558)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B214C #4C360B
analogous
#0B424C #0B214C #150B4C
triadic
#0B214C #4C0B21 #214C0B
tetradic
#0B214C #4C0B42 #4C360B #0B4C15
square
#0B214C #4C0B42 #4C360B #0B4C15
split-complementary
#0B214C #4C150B #424C0B
monochromatic
#040C1B #040C1B #0B214C #133881 #1A4FB7

Accessibility & contrast

On white

15.72
#0B214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0B214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B214C
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B214C#FFFFFF#000000##FFFFFF
##0B214C1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b214c;
/* rgb */ color: rgb(11, 33, 76);
/* oklch */ color: oklch(25.9% 0.085 262.0);
Tailwind
colors: {
  custom: {
    50: '#565b7e',
    500: '#0b214c',
    950: '#000000',
  },
}
SCSS
$custom: #0b214c;
$custom-light: #565b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b214c",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 219.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25942,
    "c": 0.08461,
    "h": 262
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#0B214C
secondary
#88692B
accent
#B236F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B214C

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

Preview Lab → · Contrast checker → · Palette generator →

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