#0F115C#0F115C

#0F115C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.128 H 270.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#0F115C
RGBrgb(15, 17, 92)
HSLhsl(238, 72%, 21%)
HSVhsv(238, 84%, 36%)
CMYKcmyk(83.7%, 81.5%, 0%, 63.9%)
CIE-LABlab(11.10, 28.41, -44.25)
CIE-LCHlch(11.10, 52.59, 302.71°)
OKLaboklab(24.57% 0.002 -0.1281)
OKLCHoklch(24.57% 0.128 270.9)
XYZxyz(2.3286, 1.2749, 10.2465)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F115C #5C5A0F
analogous
#0F375C #0F115C #330F5C
triadic
#0F115C #5C0F11 #115C0F
tetradic
#0F115C #5C0F37 #5C5A0F #0F5C33
square
#0F115C #5C0F37 #5C5A0F #0F5C33
split-complementary
#0F115C #5C330F #375C0F
monochromatic
#04051A #060727 #0F115C #181B91 #2024C5

Accessibility & contrast

On white

16.73
#0F115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F115C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F115C#FFFFFF#000000##FFFFFF
##0F115C1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001A5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f115c;
/* rgb */ color: rgb(15, 17, 92);
/* oklch */ color: oklch(24.6% 0.128 270.9);
Tailwind
colors: {
  custom: {
    50: '#5e508b',
    500: '#0f115c',
    950: '#000000',
  },
}
SCSS
$custom: #0f115c;
$custom-light: #5e508b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f115c",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 238.442,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24569,
    "c": 0.12815,
    "h": 270.9
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F115C

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

Preview Lab → · Contrast checker → · Palette generator →

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