#0F1149#0F1149

#0F1149 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.101 H 273.1°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#0F1149
RGBrgb(15, 17, 73)
HSLhsl(238, 66%, 17%)
HSVhsv(238, 79%, 29%)
CMYKcmyk(79.5%, 76.7%, 0%, 71.4%)
CIE-LABlab(8.85, 21.01, -34.95)
CIE-LCHlch(8.85, 40.78, 301.02°)
OKLaboklab(22.3% 0.0054 -0.101)
OKLCHoklch(22.3% 0.101 273.1)
XYZxyz(1.5996, 0.9833, 6.4075)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1149 #49470F
analogous
#0F2E49 #0F1149 #2A0F49
triadic
#0F1149 #490F11 #11490F
tetradic
#0F1149 #490F2E #49470F #0F492A
square
#0F1149 #490F2E #49470F #0F492A
split-complementary
#0F1149 #492A0F #2E490F
monochromatic
#050619 #050619 #0F1149 #191D7C #2429AF

Accessibility & contrast

On white

17.55
#0F1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F1149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1149
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1149#FFFFFF#000000##FFFFFF
##0F11491.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1149;
/* rgb */ color: rgb(15, 17, 73);
/* oklch */ color: oklch(22.3% 0.101 273.1);
Tailwind
colors: {
  custom: {
    50: '#584f7c',
    500: '#0f1149',
    950: '#000000',
  },
}
SCSS
$custom: #0f1149;
$custom-light: #584f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1149",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 237.931,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22296,
    "c": 0.10119,
    "h": 273.1
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#0F1149
secondary
#838130
accent
#E33FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1149

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

Preview Lab → · Contrast checker → · Palette generator →

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