#0F154D#0F154D

#0F154D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.102 H 271.2°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0F154D
RGBrgb(15, 21, 77)
HSLhsl(234, 67%, 18%)
HSVhsv(234, 81%, 30%)
CMYKcmyk(80.5%, 72.7%, 0%, 69.8%)
CIE-LABlab(10.36, 19.76, -35.24)
CIE-LCHlch(10.36, 40.40, 299.28°)
OKLaboklab(23.52% 0.0021 -0.1019)
OKLCHoklch(23.52% 0.102 271.2)
XYZxyz(1.8043, 1.1735, 7.1512)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154D #4D470F
analogous
#0F344D #0F154D #280F4D
triadic
#0F154D #4D0F15 #154D0F
tetradic
#0F154D #4D0F34 #4D470F #0F4D28
square
#0F154D #4D0F34 #4D470F #0F4D28
split-complementary
#0F154D #4D280F #344D0F
monochromatic
#05071A #05071A #0F154D #192380 #2331B3

Accessibility & contrast

On white

17.01
#0F154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F154D
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154D#FFFFFF#000000##FFFFFF
##0F154D1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f154d;
/* rgb */ color: rgb(15, 21, 77);
/* oklch */ color: oklch(23.5% 0.102 271.2);
Tailwind
colors: {
  custom: {
    50: '#59527f',
    500: '#0f154d',
    950: '#000000',
  },
}
SCSS
$custom: #0f154d;
$custom-light: #59527f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154d",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 234.194,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23523,
    "c": 0.10192,
    "h": 271.2
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#0F154D
secondary
#877F31
accent
#DA3EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154D

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

Preview Lab → · Contrast checker → · Palette generator →

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