#0B153C#0B153C

#0B153C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.076 H 268.3°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0B153C
RGBrgb(11, 21, 60)
HSLhsl(228, 69%, 14%)
HSVhsv(228, 82%, 24%)
CMYKcmyk(81.7%, 65%, 0%, 76.5%)
CIE-LABlab(8.43, 11.83, -26.47)
CIE-LCHlch(8.43, 28.99, 294.09°)
OKLaboklab(21.5% -0.0022 -0.0763)
OKLCHoklch(21.5% 0.076 268.3)
XYZxyz(1.2215, 0.9336, 4.3899)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B153C #3C320B
analogous
#0B2E3C #0B153C #1A0B3C
triadic
#0B153C #3C0B15 #153C0B
tetradic
#0B153C #3C0B2E #3C320B #0B3C1A
square
#0B153C #3C0B2E #3C320B #0B3C1A
split-complementary
#0B153C #3C1A0B #2E3C0B
monochromatic
#05091A #05091A #0B153C #142770 #1E39A3

Accessibility & contrast

On white

17.69
#0B153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B153C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B153C#FFFFFF#000000##FFFFFF
##0B153C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b153c;
/* rgb */ color: rgb(11, 21, 60);
/* oklch */ color: oklch(21.5% 0.076 268.3);
Tailwind
colors: {
  custom: {
    50: '#525172',
    500: '#0b153c',
    950: '#000000',
  },
}
SCSS
$custom: #0b153c;
$custom-light: #525172;
$custom-dark: #000000;
JSON
{
  "hex": "#0b153c",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 227.755,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21502,
    "c": 0.07629,
    "h": 268.3
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#0B153C
secondary
#79692A
accent
#C83CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0B153C

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

Preview Lab → · Contrast checker → · Palette generator →

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