#0F156A#0F156A

#0F156A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.143 H 269.2°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#0F156A
RGBrgb(15, 21, 106)
HSLhsl(236, 75%, 24%)
HSVhsv(236, 86%, 42%)
CMYKcmyk(85.8%, 80.2%, 0%, 58.4%)
CIE-LABlab(13.70, 31.15, -49.25)
CIE-LCHlch(13.70, 58.27, 302.32°)
OKLaboklab(26.92% -0.002 -0.1427)
OKLCHoklch(26.92% 0.143 269.2)
XYZxyz(3.0658, 1.6781, 13.7952)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F156A #6A640F
analogous
#0F426A #0F156A #360F6A
triadic
#0F156A #6A0F15 #156A0F
tetradic
#0F156A #6A0F42 #6A640F #0F6A36
square
#0F156A #6A0F42 #6A640F #0F6A36
split-complementary
#0F156A #6A360F #426A0F
monochromatic
#04051B #070A34 #0F156A #1720A0 #1E2AD5

Accessibility & contrast

On white

15.72
#0F156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F156A
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F156A#FFFFFF#000000##FFFFFF
##0F156A1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001E69
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f156a;
/* rgb */ color: rgb(15, 21, 106);
/* oklch */ color: oklch(26.9% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#625396',
    500: '#0f156a',
    950: '#000000',
  },
}
SCSS
$custom: #0f156a;
$custom-light: #625396;
$custom-dark: #000000;
JSON
{
  "hex": "#0f156a",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 236.044,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26915,
    "c": 0.14269,
    "h": 269.2
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#0F156A
secondary
#A29B32
accent
#E536F2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F156A

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

Preview Lab → · Contrast checker → · Palette generator →

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