#0F154A#0F154A

#0F154A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 271.4°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0F154A
RGBrgb(15, 21, 74)
HSLhsl(234, 66%, 17%)
HSVhsv(234, 80%, 29%)
CMYKcmyk(79.7%, 71.6%, 0%, 71%)
CIE-LABlab(10.05, 18.51, -33.68)
CIE-LCHlch(10.05, 38.43, 298.79°)
OKLaboklab(23.2% 0.0023 -0.0973)
OKLCHoklch(23.2% 0.097 271.4)
XYZxyz(1.7008, 1.1321, 6.6061)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154A #4A440F
analogous
#0F334A #0F154A #260F4A
triadic
#0F154A #4A0F15 #154A0F
tetradic
#0F154A #4A0F33 #4A440F #0F4A26
square
#0F154A #4A0F33 #4A440F #0F4A26
split-complementary
#0F154A #4A260F #334A0F
monochromatic
#050719 #050719 #0F154A #19237D #2432B0

Accessibility & contrast

On white

17.12
#0F154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F154A
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154A#FFFFFF#000000##FFFFFF
##0F154A1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f154a;
/* rgb */ color: rgb(15, 21, 74);
/* oklch */ color: oklch(23.2% 0.097 271.4);
Tailwind
colors: {
  custom: {
    50: '#58527d',
    500: '#0f154a',
    950: '#000000',
  },
}
SCSS
$custom: #0f154a;
$custom-light: #58527d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154a",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 233.898,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23197,
    "c": 0.09735,
    "h": 271.4
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#0F154A
secondary
#847C30
accent
#D83FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154A

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

Preview Lab → · Contrast checker → · Palette generator →

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