#0F1545#0F1545

#0F1545 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.090 H 271.7°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#0F1545
RGBrgb(15, 21, 69)
HSLhsl(233, 64%, 16%)
HSVhsv(233, 78%, 27%)
CMYKcmyk(78.3%, 69.6%, 0%, 72.9%)
CIE-LABlab(9.54, 16.40, -31.02)
CIE-LCHlch(9.54, 35.09, 297.87°)
OKLaboklab(22.67% 0.0026 -0.0895)
OKLCHoklch(22.67% 0.09 271.7)
XYZxyz(1.5390, 1.0674, 5.7540)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1545 #453F0F
analogous
#0F3045 #0F1545 #240F45
triadic
#0F1545 #450F15 #15450F
tetradic
#0F1545 #450F30 #453F0F #0F4524
square
#0F1545 #450F30 #453F0F #0F4524
split-complementary
#0F1545 #45240F #30450F
monochromatic
#050819 #050819 #0F1545 #1A2477 #2534AA

Accessibility & contrast

On white

17.30
#0F1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1545
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1545#FFFFFF#000000##FFFFFF
##0F15451.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1545;
/* rgb */ color: rgb(15, 21, 69);
/* oklch */ color: oklch(22.7% 0.090 271.7);
Tailwind
colors: {
  custom: {
    50: '#565279',
    500: '#0f1545',
    950: '#000000',
  },
}
SCSS
$custom: #0f1545;
$custom-light: #565279;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1545",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 233.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.08956,
    "h": 271.7
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#0F1545
secondary
#7F7730
accent
#D541E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1545

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

Preview Lab → · Contrast checker → · Palette generator →

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