#0F113A#0F113A

#0F113A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 275.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F113A
RGBrgb(15, 17, 58)
HSLhsl(237, 59%, 14%)
HSVhsv(237, 74%, 23%)
CMYKcmyk(74.1%, 70.7%, 0%, 77.3%)
CIE-LABlab(7.30, 14.73, -26.85)
CIE-LCHlch(7.30, 30.63, 298.75°)
OKLaboklab(20.66% 0.007 -0.0774)
OKLCHoklch(20.66% 0.078 275.1)
XYZxyz(1.1609, 0.8078, 4.0969)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113A #3A380F
analogous
#0F273A #0F113A #230F3A
triadic
#0F113A #3A0F11 #113A0F
tetradic
#0F113A #3A0F27 #3A380F #0F3A23
square
#0F113A #3A0F27 #3A380F #0F3A23
split-complementary
#0F113A #3A230F #273A0F
monochromatic
#060718 #060718 #0F113A #1C1F6B #282E9B

Accessibility & contrast

On white

18.08
#0F113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F113A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113A#FFFFFF#000000##FFFFFF
##0F113A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f113a;
/* rgb */ color: rgb(15, 17, 58);
/* oklch */ color: oklch(20.7% 0.078 275.1);
Tailwind
colors: {
  custom: {
    50: '#544e71',
    500: '#0f113a',
    950: '#000000',
  },
}
SCSS
$custom: #0f113a;
$custom-light: #544e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113a",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 237.209,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20662,
    "c": 0.07775,
    "h": 275.1
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#0F113A
secondary
#747130
accent
#DB46E2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F113A

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

Preview Lab → · Contrast checker → · Palette generator →

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