#0F115D#0F115D

#0F115D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.130 H 270.8°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#0F115D
RGBrgb(15, 17, 93)
HSLhsl(238, 72%, 21%)
HSVhsv(238, 84%, 36%)
CMYKcmyk(83.9%, 81.7%, 0%, 63.5%)
CIE-LABlab(11.22, 28.79, -44.72)
CIE-LCHlch(11.22, 53.18, 302.77°)
OKLaboklab(24.69% 0.0018 -0.1295)
OKLCHoklch(24.69% 0.13 270.8)
XYZxyz(2.3726, 1.2925, 10.4782)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F115D #5D5B0F
analogous
#0F385D #0F115D #340F5D
triadic
#0F115D #5D0F11 #115D0F
tetradic
#0F115D #5D0F38 #5D5B0F #0F5D34
square
#0F115D #5D0F38 #5D5B0F #0F5D34
split-complementary
#0F115D #5D340F #385D0F
monochromatic
#04051A #060728 #0F115D #171B92 #2024C6

Accessibility & contrast

On white

16.69
#0F115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F115D
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F115D#FFFFFF#000000##FFFFFF
##0F115D1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001A5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f115d;
/* rgb */ color: rgb(15, 17, 93);
/* oklch */ color: oklch(24.7% 0.130 270.8);
Tailwind
colors: {
  custom: {
    50: '#5e508c',
    500: '#0f115d',
    950: '#000000',
  },
}
SCSS
$custom: #0f115d;
$custom-light: #5e508c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f115d",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 238.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.24694,
    "c": 0.1295,
    "h": 270.8
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#0F115D
secondary
#969431
accent
#EA39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F115D

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

Preview Lab → · Contrast checker → · Palette generator →

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