#0F114D#0F114D

#0F114D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.107 H 272.6°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#0F114D
RGBrgb(15, 17, 77)
HSLhsl(238, 67%, 18%)
HSVhsv(238, 81%, 30%)
CMYKcmyk(80.5%, 77.9%, 0%, 69.8%)
CIE-LABlab(9.30, 22.62, -36.98)
CIE-LCHlch(9.30, 43.35, 301.45°)
OKLaboklab(22.76% 0.0048 -0.107)
OKLCHoklch(22.76% 0.107 272.6)
XYZxyz(1.7366, 1.0381, 7.1286)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F114D #4D4B0F
analogous
#0F304D #0F114D #2C0F4D
triadic
#0F114D #4D0F11 #114D0F
tetradic
#0F114D #4D0F30 #4D4B0F #0F4D2C
square
#0F114D #4D0F30 #4D4B0F #0F4D2C
split-complementary
#0F114D #4D2C0F #304D0F
monochromatic
#05061A #05061A #0F114D #191C80 #2328B3

Accessibility & contrast

On white

17.39
#0F114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F114D
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F114D#FFFFFF#000000##FFFFFF
##0F114D1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f114d;
/* rgb */ color: rgb(15, 17, 77);
/* oklch */ color: oklch(22.8% 0.107 272.6);
Tailwind
colors: {
  custom: {
    50: '#594f80',
    500: '#0f114d',
    950: '#000000',
  },
}
SCSS
$custom: #0f114d;
$custom-light: #594f80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f114d",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 238.065,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22759,
    "c": 0.10709,
    "h": 272.6
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#0F114D
secondary
#878431
accent
#E53EEA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F114D

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

Preview Lab → · Contrast checker → · Palette generator →

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