#0F1860#0F1860

#0F1860 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.126 H 269.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#0F1860
RGBrgb(15, 24, 96)
HSLhsl(233, 73%, 22%)
HSVhsv(233, 84%, 38%)
CMYKcmyk(84.4%, 75%, 0%, 62.4%)
CIE-LABlab(13.22, 25.34, -43.42)
CIE-LCHlch(13.22, 50.27, 300.27°)
OKLaboklab(26.23% -0.0018 -0.1257)
OKLCHoklch(26.23% 0.126 269.2)
XYZxyz(2.6342, 1.5991, 11.2339)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1860 #60570F
analogous
#0F4160 #0F1860 #2F0F60
triadic
#0F1860 #600F18 #18600F
tetradic
#0F1860 #600F41 #60570F #0F602F
square
#0F1860 #600F41 #60570F #0F602F
split-complementary
#0F1860 #602F0F #41600F
monochromatic
#04071A #070B2B #0F1860 #172595 #2032CA

Accessibility & contrast

On white

15.91
#0F1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1860
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1860#FFFFFF#000000##FFFFFF
##0F18601.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1860;
/* rgb */ color: rgb(15, 24, 96);
/* oklch */ color: oklch(26.2% 0.126 269.2);
Tailwind
colors: {
  custom: {
    50: '#5e558e',
    500: '#0f1860',
    950: '#000000',
  },
}
SCSS
$custom: #0f1860;
$custom-light: #5e558e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1860",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 233.333,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26228,
    "c": 0.12576,
    "h": 269.2
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#0F1860
secondary
#998E32
accent
#DB38F0
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1860

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

Preview Lab → · Contrast checker → · Palette generator →

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