#0F113E#0F113E

#0F113E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.084 H 274.6°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0F113E
RGBrgb(15, 17, 62)
HSLhsl(237, 61%, 15%)
HSVhsv(237, 76%, 24%)
CMYKcmyk(75.8%, 72.6%, 0%, 75.7%)
CIE-LABlab(7.68, 16.48, -29.10)
CIE-LCHlch(7.68, 33.44, 299.52°)
OKLaboklab(21.08% 0.0067 -0.084)
OKLCHoklch(21.08% 0.084 274.6)
XYZxyz(1.2667, 0.8501, 4.6538)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F113E #3E3C0F
analogous
#0F283E #0F113E #250F3E
triadic
#0F113E #3E0F11 #113E0F
tetradic
#0F113E #3E0F28 #3E3C0F #0F3E25
square
#0F113E #3E0F28 #3E3C0F #0F3E25
split-complementary
#0F113E #3E250F #283E0F
monochromatic
#060719 #060719 #0F113E #1B1F6F #272CA1

Accessibility & contrast

On white

17.95
#0F113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F113E
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F113E#FFFFFF#000000##FFFFFF
##0F113E1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f113e;
/* rgb */ color: rgb(15, 17, 62);
/* oklch */ color: oklch(21.1% 0.084 274.6);
Tailwind
colors: {
  custom: {
    50: '#554e74',
    500: '#0f113e',
    950: '#000000',
  },
}
SCSS
$custom: #0f113e;
$custom-light: #554e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f113e",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 237.447,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2108,
    "c": 0.08423,
    "h": 274.6
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F113E

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

Preview Lab → · Contrast checker → · Palette generator →

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