#0F1835#0F1835

#0F1835 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.9% C 0.058 H 268.3°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#0F1835
RGBrgb(15, 24, 53)
HSLhsl(226, 56%, 13%)
HSVhsv(226, 72%, 21%)
CMYKcmyk(71.7%, 54.7%, 0%, 79.2%)
CIE-LABlab(9.09, 7.17, -20.34)
CIE-LCHlch(9.09, 21.57, 289.42°)
OKLaboklab(21.89% -0.0017 -0.0581)
OKLCHoklch(21.89% 0.058 268.3)
XYZxyz(1.1660, 1.0118, 3.5013)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1835 #352C0F
analogous
#0F2B35 #0F1835 #190F35
triadic
#0F1835 #350F18 #18350F
tetradic
#0F1835 #350F2B #352C0F #0F3519
square
#0F1835 #350F2B #352C0F #0F3519
split-complementary
#0F1835 #35190F #2B350F
monochromatic
#070B18 #070B18 #0F1835 #1C2E65 #2A4394

Accessibility & contrast

On white

17.47
#0F1835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1835
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1835#FFFFFF#000000##FFFFFF
##0F18351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B36
Deuteranopia (green-blind)
#051834
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1835;
/* rgb */ color: rgb(15, 24, 53);
/* oklch */ color: oklch(21.9% 0.058 268.3);
Tailwind
colors: {
  custom: {
    50: '#52546c',
    500: '#0f1835',
    950: '#000000',
  },
}
SCSS
$custom: #0f1835;
$custom-light: #52546c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1835",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 225.789,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21887,
    "c": 0.05811,
    "h": 268.3
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#0F1835
secondary
#6F6031
accent
#BC49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #0F1835

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

Preview Lab → · Contrast checker → · Palette generator →

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