#0F1341#0F1341

#0F1341 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.086 H 273.1°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#0F1341
RGBrgb(15, 19, 65)
HSLhsl(235, 63%, 16%)
HSVhsv(235, 77%, 25%)
CMYKcmyk(76.9%, 70.8%, 0%, 74.5%)
CIE-LABlab(8.56, 16.24, -29.80)
CIE-LCHlch(8.56, 33.94, 298.58°)
OKLaboklab(21.82% 0.0046 -0.086)
OKLCHoklch(21.82% 0.086 273.1)
XYZxyz(1.3837, 0.9488, 5.1102)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1341 #413D0F
analogous
#0F2C41 #0F1341 #240F41
triadic
#0F1341 #410F13 #13410F
tetradic
#0F1341 #410F2C #413D0F #0F4124
square
#0F1341 #410F2C #413D0F #0F4124
split-complementary
#0F1341 #41240F #2C410F
monochromatic
#060719 #060719 #0F1341 #1A2273 #2630A4

Accessibility & contrast

On white

17.65
#0F1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1341
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1341#FFFFFF#000000##FFFFFF
##0F13411.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1341;
/* rgb */ color: rgb(15, 19, 65);
/* oklch */ color: oklch(21.8% 0.086 273.1);
Tailwind
colors: {
  custom: {
    50: '#555076',
    500: '#0f1341',
    950: '#000000',
  },
}
SCSS
$custom: #0f1341;
$custom-light: #555076;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1341",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 235.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21822,
    "c": 0.08609,
    "h": 273.1
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#0F1341
secondary
#7B7530
accent
#D842E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1341

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

Preview Lab → · Contrast checker → · Palette generator →

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