#0F153C#0F153C

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

Color values

HEX#0F153C
RGBrgb(15, 21, 60)
HSLhsl(232, 60%, 15%)
HSVhsv(232, 75%, 24%)
CMYKcmyk(75%, 65%, 0%, 76.5%)
CIE-LABlab(8.69, 12.56, -26.03)
CIE-LCHlch(8.69, 28.90, 295.76°)
OKLaboklab(21.77% 0.0027 -0.0749)
OKLCHoklch(21.77% 0.075 272)
XYZxyz(1.2805, 0.9640, 4.3927)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F153C #3C360F
analogous
#0F2C3C #0F153C #200F3C
triadic
#0F153C #3C0F15 #153C0F
tetradic
#0F153C #3C0F2C #3C360F #0F3C20
square
#0F153C #3C0F2C #3C360F #0F3C20
split-complementary
#0F153C #3C200F #2C3C0F
monochromatic
#060918 #060918 #0F153C #1B266D #27379E

Accessibility & contrast

On white

17.61
#0F153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F153C
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F153C#FFFFFF#000000##FFFFFF
##0F153C1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f153c;
/* rgb */ color: rgb(15, 21, 60);
/* oklch */ color: oklch(21.8% 0.075 272.0);
Tailwind
colors: {
  custom: {
    50: '#545272',
    500: '#0f153c',
    950: '#000000',
  },
}
SCSS
$custom: #0f153c;
$custom-light: #545272;
$custom-dark: #000000;
JSON
{
  "hex": "#0f153c",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 232,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2177,
    "c": 0.07491,
    "h": 272
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#0F153C
secondary
#766D30
accent
#CE45E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0F153C

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

Preview Lab → · Contrast checker → · Palette generator →

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