#0F1345#0F1345

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

Color values

HEX#0F1345
RGBrgb(15, 19, 69)
HSLhsl(236, 64%, 16%)
HSVhsv(236, 78%, 27%)
CMYKcmyk(78.3%, 72.5%, 0%, 72.9%)
CIE-LABlab(8.96, 17.91, -31.96)
CIE-LCHlch(8.96, 36.64, 299.27°)
OKLaboklab(22.25% 0.0044 -0.0923)
OKLCHoklch(22.25% 0.092 272.7)
XYZxyz(1.5037, 0.9968, 5.7422)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1345 #45410F
analogous
#0F2E45 #0F1345 #260F45
triadic
#0F1345 #450F13 #13450F
tetradic
#0F1345 #450F2E #45410F #0F4526
square
#0F1345 #450F2E #45410F #0F4526
split-complementary
#0F1345 #45260F #2E450F
monochromatic
#050719 #050719 #0F1345 #1A2177 #252FAA

Accessibility & contrast

On white

17.51
#0F1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1345
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1345#FFFFFF#000000##FFFFFF
##0F13451.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#002029
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f1345;
/* rgb */ color: rgb(15, 19, 69);
/* oklch */ color: oklch(22.2% 0.092 272.7);
Tailwind
colors: {
  custom: {
    50: '#575079',
    500: '#0f1345',
    950: '#000000',
  },
}
SCSS
$custom: #0f1345;
$custom-light: #575079;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1345",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 235.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22246,
    "c": 0.0924,
    "h": 272.7
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#0F1345
secondary
#7F7A30
accent
#DB41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1345

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

Preview Lab → · Contrast checker → · Palette generator →

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