#0F113C#0F113C

#0F113C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.081 H 274.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#0F113C
RGBrgb(15, 17, 60)
HSLhsl(237, 60%, 15%)
HSVhsv(237, 75%, 24%)
CMYKcmyk(75%, 71.7%, 0%, 76.5%)
CIE-LABlab(7.48, 15.61, -27.99)
CIE-LCHlch(7.48, 32.05, 299.15°)
OKLaboklab(20.87% 0.0069 -0.0807)
OKLCHoklch(20.87% 0.081 274.9)
XYZxyz(1.2128, 0.8286, 4.3701)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113C #3C3A0F
analogous
#0F283C #0F113C #240F3C
triadic
#0F113C #3C0F11 #113C0F
tetradic
#0F113C #3C0F28 #3C3A0F #0F3C24
square
#0F113C #3C0F28 #3C3A0F #0F3C24
split-complementary
#0F113C #3C240F #283C0F
monochromatic
#060718 #060718 #0F113C #1B1F6D #272D9E

Accessibility & contrast

On white

18.01
#0F113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F113C
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113C#FFFFFF#000000##FFFFFF
##0F113C1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f113c;
/* rgb */ color: rgb(15, 17, 60);
/* oklch */ color: oklch(20.9% 0.081 274.9);
Tailwind
colors: {
  custom: {
    50: '#544e72',
    500: '#0f113c',
    950: '#000000',
  },
}
SCSS
$custom: #0f113c;
$custom-light: #544e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113c",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 237.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20869,
    "c": 0.08101,
    "h": 274.9
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#0F113C
secondary
#767330
accent
#DC45E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0F113C

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

Preview Lab → · Contrast checker → · Palette generator →

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