#0B214F#0B214F

#0B214F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.089 H 262.7°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#0B214F
RGBrgb(11, 33, 79)
HSLhsl(221, 76%, 18%)
HSVhsv(221, 86%, 31%)
CMYKcmyk(86.1%, 58.2%, 0%, 69%)
CIE-LABlab(13.96, 10.99, -30.75)
CIE-LCHlch(13.96, 32.66, 289.67°)
OKLaboklab(26.21% -0.0114 -0.0886)
OKLCHoklch(26.21% 0.089 262.7)
XYZxyz(2.0926, 1.7231, 7.6179)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B214F #4F390B
analogous
#0B434F #0B214F #170B4F
triadic
#0B214F #4F0B21 #214F0B
tetradic
#0B214F #4F0B43 #4F390B #0B4F17
square
#0B214F #4F0B43 #4F390B #0B4F17
split-complementary
#0B214F #4F170B #434F0B
monochromatic
#040B1B #040B1B #0B214F #123785 #1A4EBA

Accessibility & contrast

On white

15.62
#0B214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B214F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B214F#FFFFFF#000000##FFFFFF
##0B214F1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b214f;
/* rgb */ color: rgb(11, 33, 79);
/* oklch */ color: oklch(26.2% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#575b81',
    500: '#0b214f',
    950: '#000000',
  },
}
SCSS
$custom: #0b214f;
$custom-light: #575b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b214f",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 220.588,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26211,
    "c": 0.08936,
    "h": 262.7
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#0B214F
secondary
#8B6C2B
accent
#B536F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0B214F

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

Preview Lab → · Contrast checker → · Palette generator →

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