#0F1745#0F1745

#0F1745 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.087 H 270.5°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0F1745
RGBrgb(15, 23, 69)
HSLhsl(231, 64%, 16%)
HSVhsv(231, 78%, 27%)
CMYKcmyk(78.3%, 66.7%, 0%, 72.9%)
CIE-LABlab(10.14, 14.87, -30.04)
CIE-LCHlch(10.14, 33.52, 296.34°)
OKLaboklab(23.11% 0.0008 -0.0866)
OKLCHoklch(23.11% 0.087 270.5)
XYZxyz(1.5772, 1.1439, 5.7667)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1745 #453D0F
analogous
#0F3245 #0F1745 #220F45
triadic
#0F1745 #450F17 #17450F
tetradic
#0F1745 #450F32 #453D0F #0F4522
square
#0F1745 #450F32 #453D0F #0F4522
split-complementary
#0F1745 #45220F #32450F
monochromatic
#050819 #050819 #0F1745 #1A2877 #2539AA

Accessibility & contrast

On white

17.09
#0F1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F1745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1745
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1745#FFFFFF#000000##FFFFFF
##0F17451.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1745;
/* rgb */ color: rgb(15, 23, 69);
/* oklch */ color: oklch(23.1% 0.087 270.5);
Tailwind
colors: {
  custom: {
    50: '#565379',
    500: '#0f1745',
    950: '#000000',
  },
}
SCSS
$custom: #0f1745;
$custom-light: #565379;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1745",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 231.111,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2311,
    "c": 0.08664,
    "h": 270.5
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#0F1745
secondary
#7F7430
accent
#CF41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1745

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

Preview Lab → · Contrast checker → · Palette generator →

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