#0F114A#0F114A

#0F114A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.103 H 272.9°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#0F114A
RGBrgb(15, 17, 74)
HSLhsl(238, 66%, 17%)
HSVhsv(238, 80%, 29%)
CMYKcmyk(79.7%, 77%, 0%, 71%)
CIE-LABlab(8.96, 21.42, -35.46)
CIE-LCHlch(8.96, 41.42, 301.13°)
OKLaboklab(22.41% 0.0053 -0.1025)
OKLCHoklch(22.41% 0.103 272.9)
XYZxyz(1.6331, 0.9967, 6.5836)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F114A #4A480F
analogous
#0F2F4A #0F114A #2A0F4A
triadic
#0F114A #4A0F11 #114A0F
tetradic
#0F114A #4A0F2F #4A480F #0F4A2A
square
#0F114A #4A0F2F #4A480F #0F4A2A
split-complementary
#0F114A #4A2A0F #2F4A0F
monochromatic
#050619 #050619 #0F114A #191D7D #2428B0

Accessibility & contrast

On white

17.51
#0F114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F114A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F114A#FFFFFF#000000##FFFFFF
##0F114A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f114a;
/* rgb */ color: rgb(15, 17, 74);
/* oklch */ color: oklch(22.4% 0.103 272.9);
Tailwind
colors: {
  custom: {
    50: '#584f7d',
    500: '#0f114a',
    950: '#000000',
  },
}
SCSS
$custom: #0f114a;
$custom-light: #584f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f114a",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 237.966,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22411,
    "c": 0.10268,
    "h": 272.9
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#0F114A
secondary
#848230
accent
#E33FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F114A

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

Preview Lab → · Contrast checker → · Palette generator →

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