#0F154B#0F154B

#0F154B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.099 H 271.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#0F154B
RGBrgb(15, 21, 75)
HSLhsl(234, 67%, 18%)
HSVhsv(234, 80%, 29%)
CMYKcmyk(80%, 72%, 0%, 70.6%)
CIE-LABlab(10.15, 18.93, -34.20)
CIE-LCHlch(10.15, 39.09, 298.96°)
OKLaboklab(23.31% 0.0023 -0.0989)
OKLCHoklch(23.31% 0.099 271.3)
XYZxyz(1.7347, 1.1457, 6.7850)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F154B #4B450F
analogous
#0F334B #0F154B #270F4B
triadic
#0F154B #4B0F15 #154B0F
tetradic
#0F154B #4B0F33 #4B450F #0F4B27
square
#0F154B #4B0F33 #4B450F #0F4B27
split-complementary
#0F154B #4B270F #334B0F
monochromatic
#05071A #05071A #0F154B #19237E #2332B1

Accessibility & contrast

On white

17.08
#0F154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F154B
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F154B#FFFFFF#000000##FFFFFF
##0F154B1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f154b;
/* rgb */ color: rgb(15, 21, 75);
/* oklch */ color: oklch(23.3% 0.099 271.3);
Tailwind
colors: {
  custom: {
    50: '#58527e',
    500: '#0f154b',
    950: '#000000',
  },
}
SCSS
$custom: #0f154b;
$custom-light: #58527e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f154b",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 234,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23305,
    "c": 0.09889,
    "h": 271.3
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#0F154B
secondary
#857D30
accent
#D83EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F154B

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

Preview Lab → · Contrast checker → · Palette generator →

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