#0B1E52#0B1E52

#0B1E52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.098 H 264.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#0B1E52
RGBrgb(11, 30, 82)
HSLhsl(224, 76%, 18%)
HSVhsv(224, 87%, 32%)
CMYKcmyk(86.6%, 63.4%, 0%, 67.8%)
CIE-LABlab(13.28, 14.63, -33.90)
CIE-LCHlch(13.28, 36.92, 293.35°)
OKLaboklab(25.78% -0.0088 -0.0979)
OKLCHoklch(25.78% 0.098 264.9)
XYZxyz(2.1247, 1.6086, 8.1795)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1E52 #523F0B
analogous
#0B4152 #0B1E52 #1B0B52
triadic
#0B1E52 #520B1E #1E520B
tetradic
#0B1E52 #520B41 #523F0B #0B521B
square
#0B1E52 #520B41 #523F0B #0B521B
split-complementary
#0B1E52 #521B0B #41520B
monochromatic
#040A1B #040A1C #0B1E52 #123288 #1945BE

Accessibility & contrast

On white

15.89
#0B1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1E52
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1E52#FFFFFF#000000##FFFFFF
##0B1E521.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b1e52;
/* rgb */ color: rgb(11, 30, 82);
/* oklch */ color: oklch(25.8% 0.098 264.9);
Tailwind
colors: {
  custom: {
    50: '#585983',
    500: '#0b1e52',
    950: '#000000',
  },
}
SCSS
$custom: #0b1e52;
$custom-light: #585983;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1e52",
  "rgb": {
    "r": 11,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 223.944,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25782,
    "c": 0.09833,
    "h": 264.9
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#0B1E52
secondary
#8E732B
accent
#C035F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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