#0F1355#0F1355

#0F1355 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.116 H 271.2°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0F1355
RGBrgb(15, 19, 85)
HSLhsl(237, 70%, 20%)
HSVhsv(237, 82%, 33%)
CMYKcmyk(82.4%, 77.6%, 0%, 66.7%)
CIE-LABlab(10.73, 24.41, -40.13)
CIE-LCHlch(10.73, 46.97, 301.31°)
OKLaboklab(24.06% 0.0024 -0.1162)
OKLCHoklch(24.06% 0.116 271.2)
XYZxyz(2.0690, 1.2230, 8.7196)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1355 #55510F
analogous
#0F3655 #0F1355 #2E0F55
triadic
#0F1355 #550F13 #13550F
tetradic
#0F1355 #550F36 #55510F #0F552E
square
#0F1355 #550F36 #55510F #0F552E
split-complementary
#0F1355 #552E0F #36550F
monochromatic
#05061A #060721 #0F1355 #181F89 #212ABD

Accessibility & contrast

On white

16.87
#0F1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1355
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1355#FFFFFF#000000##FFFFFF
##0F13551.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1355;
/* rgb */ color: rgb(15, 19, 85);
/* oklch */ color: oklch(24.1% 0.116 271.2);
Tailwind
colors: {
  custom: {
    50: '#5b5186',
    500: '#0f1355',
    950: '#000000',
  },
}
SCSS
$custom: #0f1355;
$custom-light: #5b5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1355",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 236.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24055,
    "c": 0.11618,
    "h": 271.2
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#0F1355
secondary
#8F8A31
accent
#E33BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1355

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

Preview Lab → · Contrast checker → · Palette generator →

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