#0F1D41#0F1D41

#0F1D41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.071 H 265.4°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0F1D41
RGBrgb(15, 29, 65)
HSLhsl(223, 63%, 16%)
HSVhsv(223, 77%, 25%)
CMYKcmyk(76.9%, 55.4%, 0%, 74.5%)
CIE-LABlab(11.70, 8.48, -24.70)
CIE-LCHlch(11.70, 26.12, 288.95°)
OKLaboklab(24.18% -0.0057 -0.0708)
OKLCHoklch(24.18% 0.071 265.4)
XYZxyz(1.5902, 1.3618, 5.1790)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D41 #41330F
analogous
#0F3641 #0F1D41 #1A0F41
triadic
#0F1D41 #410F1D #1D410F
tetradic
#0F1D41 #410F36 #41330F #0F411A
square
#0F1D41 #410F36 #41330F #0F411A
split-complementary
#0F1D41 #411A0F #36410F
monochromatic
#060B19 #060B19 #0F1D41 #1A3373 #2649A4

Accessibility & contrast

On white

16.50
#0F1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D41
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D41#FFFFFF#000000##FFFFFF
##0F1D411.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092142
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1d41;
/* rgb */ color: rgb(15, 29, 65);
/* oklch */ color: oklch(24.2% 0.071 265.4);
Tailwind
colors: {
  custom: {
    50: '#545876',
    500: '#0f1d41',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d41;
$custom-light: #545876;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d41",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 223.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24179,
    "c": 0.07106,
    "h": 265.4
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#0F1D41
secondary
#7B6630
accent
#B842E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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