#0F1356#0F1356

#0F1356 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.2% C 0.118 H 271.1°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#0F1356
RGBrgb(15, 19, 86)
HSLhsl(237, 70%, 20%)
HSVhsv(237, 83%, 34%)
CMYKcmyk(82.6%, 77.9%, 0%, 66.3%)
CIE-LABlab(10.84, 24.80, -40.62)
CIE-LCHlch(10.84, 47.59, 301.41°)
OKLaboklab(24.17% 0.0022 -0.1176)
OKLCHoklch(24.17% 0.118 271.1)
XYZxyz(2.1090, 1.2390, 8.9303)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1356 #56520F
analogous
#0F3656 #0F1356 #2F0F56
triadic
#0F1356 #560F13 #13560F
tetradic
#0F1356 #560F36 #56520F #0F562F
square
#0F1356 #560F36 #56520F #0F562F
split-complementary
#0F1356 #562F0F #36560F
monochromatic
#05061A #060722 #0F1356 #181F8A #212ABE

Accessibility & contrast

On white

16.83
#0F1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1356
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1356#FFFFFF#000000##FFFFFF
##0F13561.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1356;
/* rgb */ color: rgb(15, 19, 86);
/* oklch */ color: oklch(24.2% 0.118 271.1);
Tailwind
colors: {
  custom: {
    50: '#5c5186',
    500: '#0f1356',
    950: '#000000',
  },
}
SCSS
$custom: #0f1356;
$custom-light: #5c5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1356",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 236.62,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24173,
    "c": 0.11761,
    "h": 271.1
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#0F1356
secondary
#908A31
accent
#E33BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1356

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

Preview Lab → · Contrast checker → · Palette generator →

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