#0F1E41#0F1E41

#0F1E41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.070 H 264.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#0F1E41
RGBrgb(15, 30, 65)
HSLhsl(222, 63%, 16%)
HSVhsv(222, 77%, 25%)
CMYKcmyk(76.9%, 53.8%, 0%, 74.5%)
CIE-LABlab(12.03, 7.71, -24.17)
CIE-LCHlch(12.03, 25.37, 287.69°)
OKLaboklab(24.43% -0.0068 -0.0692)
OKLCHoklch(24.43% 0.07 264.4)
XYZxyz(1.6151, 1.4116, 5.1874)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E41 #41320F
analogous
#0F3741 #0F1E41 #190F41
triadic
#0F1E41 #410F1E #1E410F
tetradic
#0F1E41 #410F37 #41320F #0F4119
square
#0F1E41 #410F37 #41320F #0F4119
split-complementary
#0F1E41 #41190F #37410F
monochromatic
#060B19 #060B19 #0F1E41 #1A3573 #264CA4

Accessibility & contrast

On white

16.38
#0F1E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E41
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E41#FFFFFF#000000##FFFFFF
##0F1E411.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#031D40
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1e41;
/* rgb */ color: rgb(15, 30, 65);
/* oklch */ color: oklch(24.4% 0.070 264.4);
Tailwind
colors: {
  custom: {
    50: '#545976',
    500: '#0f1e41',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e41;
$custom-light: #545976;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e41",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 222,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24434,
    "c": 0.06956,
    "h": 264.4
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#0F1E41
secondary
#7B6530
accent
#B542E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F1E41

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

Preview Lab → · Contrast checker → · Palette generator →

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