#0B153F#0B153F

#0B153F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.081 H 268.5°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#0B153F
RGBrgb(11, 21, 63)
HSLhsl(228, 70%, 15%)
HSVhsv(228, 83%, 25%)
CMYKcmyk(82.5%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.71, 13.18, -28.15)
CIE-LCHlch(8.71, 31.08, 295.08°)
OKLaboklab(21.8% -0.0021 -0.0812)
OKLCHoklch(21.8% 0.081 268.5)
XYZxyz(1.3031, 0.9662, 4.8195)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B153F #3F350B
analogous
#0B2F3F #0B153F #1B0B3F
triadic
#0B153F #3F0B15 #153F0B
tetradic
#0B153F #3F0B2F #3F350B #0B3F1B
square
#0B153F #3F0B2F #3F350B #0B3F1B
split-complementary
#0B153F #3F1B0B #2F3F0B
monochromatic
#05091A #05091A #0B153F #142673 #1D38A7

Accessibility & contrast

On white

17.60
#0B153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0B153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B153F
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B153F#FFFFFF#000000##FFFFFF
##0B153F1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b153f;
/* rgb */ color: rgb(11, 21, 63);
/* oklch */ color: oklch(21.8% 0.081 268.5);
Tailwind
colors: {
  custom: {
    50: '#535174',
    500: '#0b153f',
    950: '#000000',
  },
}
SCSS
$custom: #0b153f;
$custom-light: #535174;
$custom-dark: #000000;
JSON
{
  "hex": "#0b153f",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 228.462,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21801,
    "c": 0.08124,
    "h": 268.5
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#0B153F
secondary
#7C6C2A
accent
#CB3BED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B153F

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

Preview Lab → · Contrast checker → · Palette generator →

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