#0B214E#0B214E

#0B214E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.088 H 262.4°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#0B214E
RGBrgb(11, 33, 78)
HSLhsl(220, 75%, 17%)
HSVhsv(220, 86%, 31%)
CMYKcmyk(85.9%, 57.7%, 0%, 69.4%)
CIE-LABlab(13.88, 10.54, -30.21)
CIE-LCHlch(13.88, 31.99, 289.24°)
OKLaboklab(26.12% -0.0115 -0.087)
OKLCHoklch(26.12% 0.088 262.4)
XYZxyz(2.0565, 1.7087, 7.4277)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B214E #4E380B
analogous
#0B424E #0B214E #170B4E
triadic
#0B214E #4E0B21 #214E0B
tetradic
#0B214E #4E0B42 #4E380B #0B4E17
square
#0B214E #4E0B42 #4E380B #0B4E17
split-complementary
#0B214E #4E170B #424E0B
monochromatic
#040B1B #040B1B #0B214E #133884 #1A4EB9

Accessibility & contrast

On white

15.65
#0B214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B214E
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B214E#FFFFFF#000000##FFFFFF
##0B214E1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032750
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b214e;
/* rgb */ color: rgb(11, 33, 78);
/* oklch */ color: oklch(26.1% 0.088 262.4);
Tailwind
colors: {
  custom: {
    50: '#565b80',
    500: '#0b214e',
    950: '#000000',
  },
}
SCSS
$custom: #0b214e;
$custom-light: #565b80;
$custom-dark: #000000;
JSON
{
  "hex": "#0b214e",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 220.299,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2612,
    "c": 0.08778,
    "h": 262.4
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#0B214E
secondary
#8A6B2B
accent
#B436F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B214E

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

Preview Lab → · Contrast checker → · Palette generator →

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