#0F153D#0F153D

#0F153D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.077 H 272.0°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#0F153D
RGBrgb(15, 21, 61)
HSLhsl(232, 61%, 15%)
HSVhsv(232, 75%, 24%)
CMYKcmyk(75.4%, 65.6%, 0%, 76.1%)
CIE-LABlab(8.78, 12.99, -26.60)
CIE-LCHlch(8.78, 29.60, 296.03°)
OKLaboklab(21.87% 0.0027 -0.0765)
OKLCHoklch(21.87% 0.077 272)
XYZxyz(1.3072, 0.9747, 4.5332)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F153D #3D370F
analogous
#0F2C3D #0F153D #200F3D
triadic
#0F153D #3D0F15 #153D0F
tetradic
#0F153D #3D0F2C #3D370F #0F3D20
square
#0F153D #3D0F2C #3D370F #0F3D20
split-complementary
#0F153D #3D200F #2C3D0F
monochromatic
#060819 #060819 #0F153D #1B266E #27379F

Accessibility & contrast

On white

17.57
#0F153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F153D
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F153D#FFFFFF#000000##FFFFFF
##0F153D1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f153d;
/* rgb */ color: rgb(15, 21, 61);
/* oklch */ color: oklch(21.9% 0.077 272.0);
Tailwind
colors: {
  custom: {
    50: '#545273',
    500: '#0f153d',
    950: '#000000',
  },
}
SCSS
$custom: #0f153d;
$custom-light: #545273;
$custom-dark: #000000;
JSON
{
  "hex": "#0f153d",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 232.174,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21866,
    "c": 0.07658,
    "h": 272
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#0F153D
secondary
#776E30
accent
#CF44E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F153D

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

Preview Lab → · Contrast checker → · Palette generator →

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