#0F114E#0F114E

#0F114E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.109 H 272.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0F114E
RGBrgb(15, 17, 78)
HSLhsl(238, 68%, 18%)
HSVhsv(238, 81%, 31%)
CMYKcmyk(80.8%, 78.2%, 0%, 69.4%)
CIE-LABlab(9.42, 23.01, -37.48)
CIE-LCHlch(9.42, 43.98, 301.55°)
OKLaboklab(22.88% 0.0046 -0.1084)
OKLCHoklch(22.88% 0.109 272.5)
XYZxyz(1.7721, 1.0523, 7.3160)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F114E #4E4C0F
analogous
#0F304E #0F114E #2C0F4E
triadic
#0F114E #4E0F11 #114E0F
tetradic
#0F114E #4E0F30 #4E4C0F #0F4E2C
square
#0F114E #4E0F30 #4E4C0F #0F4E2C
split-complementary
#0F114E #4E2C0F #304E0F
monochromatic
#05061A #05061B #0F114E #191C81 #2327B5

Accessibility & contrast

On white

17.35
#0F114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F114E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F114E#FFFFFF#000000##FFFFFF
##0F114E1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00174D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f114e;
/* rgb */ color: rgb(15, 17, 78);
/* oklch */ color: oklch(22.9% 0.109 272.5);
Tailwind
colors: {
  custom: {
    50: '#594f80',
    500: '#0f114e',
    950: '#000000',
  },
}
SCSS
$custom: #0f114e;
$custom-light: #594f80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f114e",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 238.095,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22876,
    "c": 0.10854,
    "h": 272.5
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#0F114E
secondary
#888531
accent
#E53DEB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F114E

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

Preview Lab → · Contrast checker → · Palette generator →

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