#0F1553#0F1553

#0F1553 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.111 H 270.8°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#0F1553
RGBrgb(15, 21, 83)
HSLhsl(235, 69%, 19%)
HSVhsv(235, 82%, 33%)
CMYKcmyk(81.9%, 74.7%, 0%, 67.5%)
CIE-LABlab(11.01, 22.22, -38.30)
CIE-LCHlch(11.01, 44.28, 300.12°)
OKLaboklab(24.19% 0.0015 -0.1108)
OKLCHoklch(24.19% 0.111 270.8)
XYZxyz(2.0260, 1.2622, 8.3188)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1553 #534D0F
analogous
#0F3753 #0F1553 #2B0F53
triadic
#0F1553 #530F15 #15530F
tetradic
#0F1553 #530F37 #534D0F #0F532B
square
#0F1553 #530F37 #534D0F #0F532B
split-complementary
#0F1553 #532B0F #37530F
monochromatic
#05071A #06081F #0F1553 #182287 #222FBB

Accessibility & contrast

On white

16.77
#0F1553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1553
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1553#FFFFFF#000000##FFFFFF
##0F15531.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001A52
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1553;
/* rgb */ color: rgb(15, 21, 83);
/* oklch */ color: oklch(24.2% 0.111 270.8);
Tailwind
colors: {
  custom: {
    50: '#5b5284',
    500: '#0f1553',
    950: '#000000',
  },
}
SCSS
$custom: #0f1553;
$custom-light: #5b5284;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1553",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 234.706,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24191,
    "c": 0.11084,
    "h": 270.8
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#0F1553
secondary
#8D8531
accent
#DD3CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1553

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

Preview Lab → · Contrast checker → · Palette generator →

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