#0F1244#0F1244

#0F1244 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.092 H 273.3°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#0F1244
RGBrgb(15, 18, 68)
HSLhsl(237, 64%, 16%)
HSVhsv(237, 78%, 27%)
CMYKcmyk(77.9%, 73.5%, 0%, 73.3%)
CIE-LABlab(8.58, 18.24, -31.89)
CIE-LCHlch(8.58, 36.73, 299.77°)
OKLaboklab(21.93% 0.0053 -0.0921)
OKLCHoklch(21.93% 0.092 273.3)
XYZxyz(1.4563, 0.9514, 5.5746)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1244 #44410F
analogous
#0F2D44 #0F1244 #270F44
triadic
#0F1244 #440F12 #12440F
tetradic
#0F1244 #440F2D #44410F #0F4427
square
#0F1244 #440F2D #44410F #0F4427
split-complementary
#0F1244 #44270F #2D440F
monochromatic
#060719 #060719 #0F1244 #1A1F76 #252DA8

Accessibility & contrast

On white

17.64
#0F1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F1244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1244
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1244#FFFFFF#000000##FFFFFF
##0F12441.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1244;
/* rgb */ color: rgb(15, 18, 68);
/* oklch */ color: oklch(21.9% 0.092 273.3);
Tailwind
colors: {
  custom: {
    50: '#564f78',
    500: '#0f1244',
    950: '#000000',
  },
}
SCSS
$custom: #0f1244;
$custom-light: #564f78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1244",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 236.604,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.09224,
    "h": 273.3
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#0F1244
secondary
#7E7A30
accent
#DD41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1244

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

Preview Lab → · Contrast checker → · Palette generator →

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