#0B154E#0B154E

#0B154E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.105 H 268.6°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#0B154E
RGBrgb(11, 21, 78)
HSLhsl(231, 75%, 17%)
HSVhsv(231, 86%, 31%)
CMYKcmyk(85.9%, 73.1%, 0%, 69.4%)
CIE-LABlab(10.24, 19.70, -36.14)
CIE-LCHlch(10.24, 41.16, 298.60°)
OKLaboklab(23.4% -0.0026 -0.1046)
OKLCHoklch(23.4% 0.105 268.6)
XYZxyz(1.7808, 1.1573, 7.3358)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B154E #4E440B
analogous
#0B364E #0B154E #230B4E
triadic
#0B154E #4E0B15 #154E0B
tetradic
#0B154E #4E0B36 #4E440B #0B4E23
square
#0B154E #4E0B36 #4E440B #0B4E23
split-complementary
#0B154E #4E230B #364E0B
monochromatic
#04071B #04071B #0B154E #132384 #1A32B9

Accessibility & contrast

On white

17.05
#0B154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B154E
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B154E#FFFFFF#000000##FFFFFF
##0B154E1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b154e;
/* rgb */ color: rgb(11, 21, 78);
/* oklch */ color: oklch(23.4% 0.105 268.6);
Tailwind
colors: {
  custom: {
    50: '#585280',
    500: '#0b154e',
    950: '#000000',
  },
}
SCSS
$custom: #0b154e;
$custom-light: #585280;
$custom-dark: #000000;
JSON
{
  "hex": "#0b154e",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 231.045,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23404,
    "c": 0.10466,
    "h": 268.6
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#0B154E
secondary
#8A7C2B
accent
#D636F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B154E

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

Preview Lab → · Contrast checker → · Palette generator →

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