#0F1241#0F1241

#0F1241 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.088 H 273.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#0F1241
RGBrgb(15, 18, 65)
HSLhsl(236, 63%, 16%)
HSVhsv(236, 77%, 25%)
CMYKcmyk(76.9%, 72.3%, 0%, 74.5%)
CIE-LABlab(8.27, 16.99, -30.27)
CIE-LCHlch(8.27, 34.72, 299.30°)
OKLaboklab(21.61% 0.0056 -0.0874)
OKLCHoklch(21.61% 0.088 273.6)
XYZxyz(1.3671, 0.9157, 5.1047)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1241 #413E0F
analogous
#0F2B41 #0F1241 #250F41
triadic
#0F1241 #410F12 #12410F
tetradic
#0F1241 #410F2B #413E0F #0F4125
square
#0F1241 #410F2B #413E0F #0F4125
split-complementary
#0F1241 #41250F #2B410F
monochromatic
#060719 #060719 #0F1241 #1A2073 #262EA4

Accessibility & contrast

On white

17.75
#0F1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1241
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1241#FFFFFF#000000##FFFFFF
##0F12411.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1241;
/* rgb */ color: rgb(15, 18, 65);
/* oklch */ color: oklch(21.6% 0.088 273.6);
Tailwind
colors: {
  custom: {
    50: '#564f76',
    500: '#0f1241',
    950: '#000000',
  },
}
SCSS
$custom: #0f1241;
$custom-light: #564f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1241",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 236.4,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21609,
    "c": 0.08755,
    "h": 273.6
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#0F1241
secondary
#7B7730
accent
#DC42E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1241

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

Preview Lab → · Contrast checker → · Palette generator →

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