#0F1558#0F1558

#0F1558 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.8% C 0.118 H 270.4°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0F1558
RGBrgb(15, 21, 88)
HSLhsl(235, 71%, 20%)
HSVhsv(235, 83%, 35%)
CMYKcmyk(83%, 76.1%, 0%, 65.5%)
CIE-LABlab(11.57, 24.23, -40.78)
CIE-LCHlch(11.57, 47.43, 300.72°)
OKLaboklab(24.76% 0.0008 -0.1181)
OKLCHoklch(24.76% 0.118 270.4)
XYZxyz(2.2260, 1.3422, 9.3724)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1558 #58520F
analogous
#0F3A58 #0F1558 #2D0F58
triadic
#0F1558 #580F15 #15580F
tetradic
#0F1558 #580F3A #58520F #0F582D
square
#0F1558 #580F3A #58520F #0F582D
split-complementary
#0F1558 #582D0F #3A580F
monochromatic
#04061A #060924 #0F1558 #18218C #212EC1

Accessibility & contrast

On white

16.56
#0F1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1558
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1558#FFFFFF#000000##FFFFFF
##0F15581.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1558;
/* rgb */ color: rgb(15, 21, 88);
/* oklch */ color: oklch(24.8% 0.118 270.4);
Tailwind
colors: {
  custom: {
    50: '#5c5288',
    500: '#0f1558',
    950: '#000000',
  },
}
SCSS
$custom: #0f1558;
$custom-light: #5c5288;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1558",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 235.068,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.11806,
    "h": 270.4
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#0F1558
secondary
#928A31
accent
#DF3AEE
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1558

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

Preview Lab → · Contrast checker → · Palette generator →

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