#0F1247#0F1247

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

Color values

HEX#0F1247
RGBrgb(15, 18, 71)
HSLhsl(237, 65%, 17%)
HSVhsv(237, 79%, 28%)
CMYKcmyk(78.9%, 74.6%, 0%, 72.2%)
CIE-LABlab(8.90, 19.48, -33.47)
CIE-LCHlch(8.90, 38.72, 300.20°)
OKLaboklab(22.26% 0.005 -0.0967)
OKLCHoklch(22.26% 0.097 272.9)
XYZxyz(1.5503, 0.9890, 6.0692)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1247 #47440F
analogous
#0F2E47 #0F1247 #280F47
triadic
#0F1247 #470F12 #12470F
tetradic
#0F1247 #470F2E #47440F #0F4728
square
#0F1247 #470F2E #47440F #0F4728
split-complementary
#0F1247 #47280F #2E470F
monochromatic
#050619 #050619 #0F1247 #1A1F7A #242CAC

Accessibility & contrast

On white

17.53
#0F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1247
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1247#FFFFFF#000000##FFFFFF
##0F12471.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#00202A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1247;
/* rgb */ color: rgb(15, 18, 71);
/* oklch */ color: oklch(22.3% 0.097 272.9);
Tailwind
colors: {
  custom: {
    50: '#574f7b',
    500: '#0f1247',
    950: '#000000',
  },
}
SCSS
$custom: #0f1247;
$custom-light: #574f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1247",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 236.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22263,
    "c": 0.09686,
    "h": 272.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#0F1247
secondary
#817D30
accent
#DF40E8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1247

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

Preview Lab → · Contrast checker → · Palette generator →

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