#0F1841#0F1841

#0F1841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 269.8°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#0F1841
RGBrgb(15, 24, 65)
HSLhsl(229, 63%, 16%)
HSVhsv(229, 77%, 25%)
CMYKcmyk(76.9%, 63.1%, 0%, 74.5%)
CIE-LABlab(10.08, 12.37, -27.33)
CIE-LCHlch(10.08, 30.00, 294.36°)
OKLaboklab(22.95% -0.0003 -0.0786)
OKLCHoklch(22.95% 0.079 269.8)
XYZxyz(1.4774, 1.1363, 5.1415)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1841 #41380F
analogous
#0F3141 #0F1841 #1F0F41
triadic
#0F1841 #410F18 #18410F
tetradic
#0F1841 #410F31 #41380F #0F411F
square
#0F1841 #410F31 #41380F #0F411F
split-complementary
#0F1841 #411F0F #31410F
monochromatic
#060919 #060919 #0F1841 #1A2A73 #263DA4

Accessibility & contrast

On white

17.11
#0F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1841
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1841#FFFFFF#000000##FFFFFF
##0F18411.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1841;
/* rgb */ color: rgb(15, 24, 65);
/* oklch */ color: oklch(23.0% 0.079 269.8);
Tailwind
colors: {
  custom: {
    50: '#555476',
    500: '#0f1841',
    950: '#000000',
  },
}
SCSS
$custom: #0f1841;
$custom-light: #555476;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1841",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 229.2,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22952,
    "c": 0.07863,
    "h": 269.8
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#0F1841
secondary
#7B6E30
accent
#C842E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1841

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

Preview Lab → · Contrast checker → · Palette generator →

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