#0F115E#0F115E

#0F115E is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.131 H 270.7°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#0F115E
RGBrgb(15, 17, 94)
HSLhsl(238, 72%, 21%)
HSVhsv(238, 84%, 37%)
CMYKcmyk(84%, 81.9%, 0%, 63.1%)
CIE-LABlab(11.35, 29.16, -45.18)
CIE-LCHlch(11.35, 53.77, 302.84°)
OKLaboklab(24.82% 0.0016 -0.1308)
OKLCHoklch(24.82% 0.131 270.7)
XYZxyz(2.4171, 1.3103, 10.7130)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F115E #5E5C0F
analogous
#0F395E #0F115E #350F5E
triadic
#0F115E #5E0F11 #115E0F
tetradic
#0F115E #5E0F39 #5E5C0F #0F5E35
square
#0F115E #5E0F39 #5E5C0F #0F5E35
split-complementary
#0F115E #5E350F #395E0F
monochromatic
#04051A #070729 #0F115E #171B93 #2024C8

Accessibility & contrast

On white

16.64
#0F115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F115E
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F115E#FFFFFF#000000##FFFFFF
##0F115E1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001A5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f115e;
/* rgb */ color: rgb(15, 17, 94);
/* oklch */ color: oklch(24.8% 0.131 270.7);
Tailwind
colors: {
  custom: {
    50: '#5e508d',
    500: '#0f115e',
    950: '#000000',
  },
}
SCSS
$custom: #0f115e;
$custom-light: #5e508d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f115e",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 238.481,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.13085,
    "h": 270.7
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#0F115E
secondary
#979531
accent
#EB39EF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F115E

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

Preview Lab → · Contrast checker → · Palette generator →

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