#0F113D#0F113D

#0F113D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.083 H 274.7°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#0F113D
RGBrgb(15, 17, 61)
HSLhsl(237, 61%, 15%)
HSVhsv(237, 75%, 24%)
CMYKcmyk(75.4%, 72.1%, 0%, 76.1%)
CIE-LABlab(7.58, 16.05, -28.55)
CIE-LCHlch(7.58, 32.75, 299.34°)
OKLaboklab(20.97% 0.0068 -0.0823)
OKLCHoklch(20.97% 0.083 274.7)
XYZxyz(1.2395, 0.8393, 4.5106)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113D #3D3B0F
analogous
#0F283D #0F113D #240F3D
triadic
#0F113D #3D0F11 #113D0F
tetradic
#0F113D #3D0F28 #3D3B0F #0F3D24
square
#0F113D #3D0F28 #3D3B0F #0F3D24
split-complementary
#0F113D #3D240F #283D0F
monochromatic
#060719 #060719 #0F113D #1B1F6E #272C9F

Accessibility & contrast

On white

17.98
#0F113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F113D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113D#FFFFFF#000000##FFFFFF
##0F113D1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f113d;
/* rgb */ color: rgb(15, 17, 61);
/* oklch */ color: oklch(21.0% 0.083 274.7);
Tailwind
colors: {
  custom: {
    50: '#544e73',
    500: '#0f113d',
    950: '#000000',
  },
}
SCSS
$custom: #0f113d;
$custom-light: #544e73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113d",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 237.391,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20974,
    "c": 0.08262,
    "h": 274.7
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#0F113D
secondary
#777430
accent
#DD44E4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F113D

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

Preview Lab → · Contrast checker → · Palette generator →

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