#0F113B#0F113B

#0F113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.079 H 275.0°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#0F113B
RGBrgb(15, 17, 59)
HSLhsl(237, 59%, 15%)
HSVhsv(237, 75%, 23%)
CMYKcmyk(74.6%, 71.2%, 0%, 76.9%)
CIE-LABlab(7.39, 15.17, -27.42)
CIE-LCHlch(7.39, 31.34, 298.96°)
OKLaboklab(20.77% 0.0069 -0.0791)
OKLCHoklch(20.77% 0.079 275)
XYZxyz(1.1866, 0.8181, 4.2322)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113B #3B390F
analogous
#0F273B #0F113B #230F3B
triadic
#0F113B #3B0F11 #113B0F
tetradic
#0F113B #3B0F27 #3B390F #0F3B23
square
#0F113B #3B0F27 #3B390F #0F3B23
split-complementary
#0F113B #3B230F #273B0F
monochromatic
#060718 #060718 #0F113B #1B1F6C #282D9D

Accessibility & contrast

On white

18.05
#0F113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F113B
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113B#FFFFFF#000000##FFFFFF
##0F113B1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f113b;
/* rgb */ color: rgb(15, 17, 59);
/* oklch */ color: oklch(20.8% 0.079 275.0);
Tailwind
colors: {
  custom: {
    50: '#544e71',
    500: '#0f113b',
    950: '#000000',
  },
}
SCSS
$custom: #0f113b;
$custom-light: #544e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113b",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 237.273,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20765,
    "c": 0.07938,
    "h": 275
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#0F113B
secondary
#757230
accent
#DB45E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0F113B

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

Preview Lab → · Contrast checker → · Palette generator →

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