#0F1249#0F1249

#0F1249 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.100 H 272.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#0F1249
RGBrgb(15, 18, 73)
HSLhsl(237, 66%, 17%)
HSVhsv(237, 79%, 29%)
CMYKcmyk(79.5%, 75.3%, 0%, 71.4%)
CIE-LABlab(9.12, 20.30, -34.51)
CIE-LCHlch(9.12, 40.04, 300.46°)
OKLaboklab(22.49% 0.0047 -0.0998)
OKLCHoklch(22.49% 0.1 272.7)
XYZxyz(1.6155, 1.0150, 6.4128)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1249 #49460F
analogous
#0F2F49 #0F1249 #290F49
triadic
#0F1249 #490F12 #12490F
tetradic
#0F1249 #490F2F #49460F #0F4929
square
#0F1249 #490F2F #49460F #0F4929
split-complementary
#0F1249 #49290F #2F490F
monochromatic
#050619 #050619 #0F1249 #191F7C #242BAF

Accessibility & contrast

On white

17.46
#0F1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1249
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1249#FFFFFF#000000##FFFFFF
##0F12491.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1249;
/* rgb */ color: rgb(15, 18, 73);
/* oklch */ color: oklch(22.5% 0.100 272.7);
Tailwind
colors: {
  custom: {
    50: '#58507c',
    500: '#0f1249',
    950: '#000000',
  },
}
SCSS
$custom: #0f1249;
$custom-light: #58507c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1249",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 236.897,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22487,
    "c": 0.09988,
    "h": 272.7
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#0F1249
secondary
#837F30
accent
#E03FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1249

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

Preview Lab → · Contrast checker → · Palette generator →

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