#0B153E#0B153E

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

Color values

HEX#0B153E
RGBrgb(11, 21, 62)
HSLhsl(228, 70%, 14%)
HSVhsv(228, 82%, 24%)
CMYKcmyk(82.3%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.61, 12.73, -27.59)
CIE-LCHlch(8.61, 30.39, 294.77°)
OKLaboklab(21.7% -0.0021 -0.0796)
OKLCHoklch(21.7% 0.08 268.5)
XYZxyz(1.2754, 0.9551, 4.6736)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B153E #3E340B
analogous
#0B2F3E #0B153E #1B0B3E
triadic
#0B153E #3E0B15 #153E0B
tetradic
#0B153E #3E0B2F #3E340B #0B3E1B
square
#0B153E #3E0B2F #3E340B #0B3E1B
split-complementary
#0B153E #3E1B0B #2F3E0B
monochromatic
#05091A #05091A #0B153E #142772 #1D38A6

Accessibility & contrast

On white

17.63
#0B153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B153E
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B153E#FFFFFF#000000##FFFFFF
##0B153E1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b153e;
/* rgb */ color: rgb(11, 21, 62);
/* oklch */ color: oklch(21.7% 0.080 268.5);
Tailwind
colors: {
  custom: {
    50: '#535174',
    500: '#0b153e',
    950: '#000000',
  },
}
SCSS
$custom: #0b153e;
$custom-light: #535174;
$custom-dark: #000000;
JSON
{
  "hex": "#0b153e",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 228.235,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21701,
    "c": 0.0796,
    "h": 268.5
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#0B153E
secondary
#7B6B2A
accent
#CA3BED
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B153E

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

Preview Lab → · Contrast checker → · Palette generator →

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