#0B1D4D#0B1D4D

#0B1D4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.092 H 264.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#0B1D4D
RGBrgb(11, 29, 77)
HSLhsl(224, 75%, 17%)
HSVhsv(224, 86%, 30%)
CMYKcmyk(85.7%, 62.3%, 0%, 69.8%)
CIE-LABlab(12.52, 13.18, -31.73)
CIE-LCHlch(12.52, 34.36, 292.55°)
OKLaboklab(25.06% -0.0083 -0.0916)
OKLCHoklch(25.06% 0.092 264.8)
XYZxyz(1.9165, 1.4855, 7.2055)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1D4D #4D3B0B
analogous
#0B3E4D #0B1D4D #1A0B4D
triadic
#0B1D4D #4D0B1D #1D4D0B
tetradic
#0B1D4D #4D0B3E #4D3B0B #0B4D1A
square
#0B1D4D #4D0B3E #4D3B0B #0B4D1A
split-complementary
#0B1D4D #4D1A0B #3E4D0B
monochromatic
#040A1B #040A1B #0B1D4D #133183 #1A45B8

Accessibility & contrast

On white

16.19
#0B1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0B1D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1D4D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1D4D#FFFFFF#000000##FFFFFF
##0B1D4D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1d4d;
/* rgb */ color: rgb(11, 29, 77);
/* oklch */ color: oklch(25.1% 0.092 264.8);
Tailwind
colors: {
  custom: {
    50: '#56587f',
    500: '#0b1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #0b1d4d;
$custom-light: #56587f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1d4d",
  "rgb": {
    "r": 11,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 223.636,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25062,
    "c": 0.09196,
    "h": 264.8
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#0B1D4D
secondary
#896F2B
accent
#BE36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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