#0F155A#0F155A

#0F155A is a very dark, vivid blue. Relative luminance 0.014; OKLCH L 25.0% C 0.121 H 270.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#0F155A
RGBrgb(15, 21, 90)
HSLhsl(235, 71%, 21%)
HSVhsv(235, 83%, 35%)
CMYKcmyk(83.3%, 76.7%, 0%, 64.7%)
CIE-LABlab(11.80, 25.02, -41.75)
CIE-LCHlch(11.80, 48.67, 300.94°)
OKLaboklab(25% 0.0005 -0.1209)
OKLCHoklch(25% 0.121 270.3)
XYZxyz(2.3100, 1.3758, 9.8147)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F155A #5A540F
analogous
#0F3A5A #0F155A #2E0F5A
triadic
#0F155A #5A0F15 #155A0F
tetradic
#0F155A #5A0F3A #5A540F #0F5A2E
square
#0F155A #5A0F3A #5A540F #0F5A2E
split-complementary
#0F155A #5A2E0F #3A5A0F
monochromatic
#04061A #060926 #0F155A #18218E #202DC3

Accessibility & contrast

On white

16.47
#0F155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F155A
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F155A#FFFFFF#000000##FFFFFF
##0F155A1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f155a;
/* rgb */ color: rgb(15, 21, 90);
/* oklch */ color: oklch(25.0% 0.121 270.3);
Tailwind
colors: {
  custom: {
    50: '#5d5289',
    500: '#0f155a',
    950: '#000000',
  },
}
SCSS
$custom: #0f155a;
$custom-light: #5d5289;
$custom-dark: #000000;
JSON
{
  "hex": "#0f155a",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 235.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24995,
    "c": 0.1209,
    "h": 270.3
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#0F155A
secondary
#948C31
accent
#E03AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F155A

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

Preview Lab → · Contrast checker → · Palette generator →

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