#0F1245#0F1245

#0F1245 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.094 H 273.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#0F1245
RGBrgb(15, 18, 69)
HSLhsl(237, 64%, 16%)
HSVhsv(237, 78%, 27%)
CMYKcmyk(78.3%, 73.9%, 0%, 72.9%)
CIE-LABlab(8.69, 18.65, -32.42)
CIE-LCHlch(8.69, 37.40, 299.92°)
OKLaboklab(22.04% 0.0052 -0.0936)
OKLCHoklch(22.04% 0.094 273.2)
XYZxyz(1.4871, 0.9637, 5.7367)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1245 #45420F
analogous
#0F2D45 #0F1245 #270F45
triadic
#0F1245 #450F12 #12450F
tetradic
#0F1245 #450F2D #45420F #0F4527
square
#0F1245 #450F2D #45420F #0F4527
split-complementary
#0F1245 #45270F #2D450F
monochromatic
#050719 #050719 #0F1245 #1A1F77 #252CAA

Accessibility & contrast

On white

17.61
#0F1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1245
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1245#FFFFFF#000000##FFFFFF
##0F12451.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1245;
/* rgb */ color: rgb(15, 18, 69);
/* oklch */ color: oklch(22.0% 0.094 273.2);
Tailwind
colors: {
  custom: {
    50: '#574f79',
    500: '#0f1245',
    950: '#000000',
  },
}
SCSS
$custom: #0f1245;
$custom-light: #574f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1245",
  "rgb": {
    "r": 15,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 236.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22042,
    "c": 0.09378,
    "h": 273.2
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#0F1245
secondary
#7F7B30
accent
#DE41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1245

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

Preview Lab → · Contrast checker → · Palette generator →

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