#0F115A#0F115A

#0F115A is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.125 H 271.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#0F115A
RGBrgb(15, 17, 90)
HSLhsl(238, 71%, 21%)
HSVhsv(238, 83%, 35%)
CMYKcmyk(83.3%, 81.1%, 0%, 64.7%)
CIE-LABlab(10.85, 27.66, -43.31)
CIE-LCHlch(10.85, 51.39, 302.57°)
OKLaboklab(24.32% 0.0024 -0.1254)
OKLCHoklch(24.32% 0.125 271.1)
XYZxyz(2.2423, 1.2404, 9.7921)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F115A #5A580F
analogous
#0F365A #0F115A #320F5A
triadic
#0F115A #5A0F11 #115A0F
tetradic
#0F115A #5A0F36 #5A580F #0F5A32
square
#0F115A #5A0F36 #5A580F #0F5A32
split-complementary
#0F115A #5A320F #365A0F
monochromatic
#04051A #060726 #0F115A #181B8E #2025C3

Accessibility & contrast

On white

16.82
#0F115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F115A
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F115A#FFFFFF#000000##FFFFFF
##0F115A1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001959
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f115a;
/* rgb */ color: rgb(15, 17, 90);
/* oklch */ color: oklch(24.3% 0.125 271.1);
Tailwind
colors: {
  custom: {
    50: '#5d508a',
    500: '#0f115a',
    950: '#000000',
  },
}
SCSS
$custom: #0f115a;
$custom-light: #5d508a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f115a",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 238.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24322,
    "c": 0.12542,
    "h": 271.1
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#0F115A
secondary
#949131
accent
#E93AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F115A

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

Preview Lab → · Contrast checker → · Palette generator →

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