#0B1D52#0B1D52

#0B1D52 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.100 H 265.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0B1D52
RGBrgb(11, 29, 82)
HSLhsl(225, 76%, 18%)
HSVhsv(225, 87%, 32%)
CMYKcmyk(86.6%, 64.6%, 0%, 67.8%)
CIE-LABlab(12.98, 15.40, -34.40)
CIE-LCHlch(12.98, 37.69, 294.11°)
OKLaboklab(25.55% -0.008 -0.0994)
OKLCHoklch(25.55% 0.1 265.4)
XYZxyz(2.0998, 1.5588, 8.1712)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1D52 #52400B
analogous
#0B4052 #0B1D52 #1C0B52
triadic
#0B1D52 #520B1D #1D520B
tetradic
#0B1D52 #520B40 #52400B #0B521C
square
#0B1D52 #520B40 #52400B #0B521C
split-complementary
#0B1D52 #521C0B #40520B
monochromatic
#040A1B #040A1C #0B1D52 #123088 #1943BE

Accessibility & contrast

On white

16.01
#0B1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0B1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1D52
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1D52#FFFFFF#000000##FFFFFF
##0B1D521.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1d52;
/* rgb */ color: rgb(11, 29, 82);
/* oklch */ color: oklch(25.6% 0.100 265.4);
Tailwind
colors: {
  custom: {
    50: '#585883',
    500: '#0b1d52',
    950: '#000000',
  },
}
SCSS
$custom: #0b1d52;
$custom-light: #585883;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1d52",
  "rgb": {
    "r": 11,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 224.789,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25553,
    "c": 0.09974,
    "h": 265.4
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#0B1D52
secondary
#8E752B
accent
#C335F3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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