#0F115F#0F115F

#0F115F is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.132 H 270.6°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#0F115F
RGBrgb(15, 17, 95)
HSLhsl(239, 73%, 22%)
HSVhsv(239, 84%, 37%)
CMYKcmyk(84.2%, 82.1%, 0%, 62.7%)
CIE-LABlab(11.47, 29.53, -45.64)
CIE-LCHlch(11.47, 54.36, 302.90°)
OKLaboklab(24.94% 0.0014 -0.1322)
OKLCHoklch(24.94% 0.132 270.6)
XYZxyz(2.4623, 1.3284, 10.9509)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F115F #5F5D0F
analogous
#0F395F #0F115F #350F5F
triadic
#0F115F #5F0F11 #115F0F
tetradic
#0F115F #5F0F39 #5F5D0F #0F5F35
square
#0F115F #5F0F39 #5F5D0F #0F5F35
split-complementary
#0F115F #5F350F #395F0F
monochromatic
#04051A #07082A #0F115F #171A94 #2024C9

Accessibility & contrast

On white

16.59
#0F115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F115F
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F115F#FFFFFF#000000##FFFFFF
##0F115F1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001A5E
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f115f;
/* rgb */ color: rgb(15, 17, 95);
/* oklch */ color: oklch(24.9% 0.132 270.6);
Tailwind
colors: {
  custom: {
    50: '#5f508d',
    500: '#0f115f',
    950: '#000000',
  },
}
SCSS
$custom: #0f115f;
$custom-light: #5f508d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f115f",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 238.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.24943,
    "c": 0.13219,
    "h": 270.6
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#0F115F
secondary
#989632
accent
#EB38EF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F115F

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

Preview Lab → · Contrast checker → · Palette generator →

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