#0F1351#0F1351

#0F1351 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.110 H 271.5°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#0F1351
RGBrgb(15, 19, 81)
HSLhsl(236, 69%, 19%)
HSVhsv(236, 81%, 32%)
CMYKcmyk(81.5%, 76.5%, 0%, 68.2%)
CIE-LABlab(10.27, 22.82, -38.15)
CIE-LCHlch(10.27, 44.45, 300.89°)
OKLaboklab(23.59% 0.003 -0.1104)
OKLCHoklch(23.59% 0.11 271.5)
XYZxyz(1.9146, 1.1612, 7.9062)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1351 #514D0F
analogous
#0F3451 #0F1351 #2C0F51
triadic
#0F1351 #510F13 #13510F
tetradic
#0F1351 #510F34 #514D0F #0F512C
square
#0F1351 #510F34 #514D0F #0F512C
split-complementary
#0F1351 #512C0F #34510F
monochromatic
#05061A #05071D #0F1351 #191F85 #222BB8

Accessibility & contrast

On white

17.04
#0F1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1351
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1351#FFFFFF#000000##FFFFFF
##0F13511.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001950
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1351;
/* rgb */ color: rgb(15, 19, 81);
/* oklch */ color: oklch(23.6% 0.110 271.5);
Tailwind
colors: {
  custom: {
    50: '#5a5183',
    500: '#0f1351',
    950: '#000000',
  },
}
SCSS
$custom: #0f1351;
$custom-light: #5a5183;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1351",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 236.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23588,
    "c": 0.11043,
    "h": 271.5
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#0F1351
secondary
#8B8631
accent
#E13CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1351

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

Preview Lab → · Contrast checker → · Palette generator →

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