#0F1E5D#0F1E5D

#0F1E5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.114 H 267.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#0F1E5D
RGBrgb(15, 30, 93)
HSLhsl(228, 72%, 21%)
HSVhsv(228, 84%, 36%)
CMYKcmyk(83.9%, 67.7%, 0%, 63.5%)
CIE-LABlab(14.51, 19.83, -39.30)
CIE-LCHlch(14.51, 44.02, 296.78°)
OKLaboklab(27.07% -0.005 -0.1137)
OKLCHoklch(27.07% 0.114 267.5)
XYZxyz(2.6364, 1.8201, 10.5662)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E5D #5D4E0F
analogous
#0F455D #0F1E5D #270F5D
triadic
#0F1E5D #5D0F1E #1E5D0F
tetradic
#0F1E5D #5D0F45 #5D4E0F #0F5D27
square
#0F1E5D #5D0F45 #5D4E0F #0F5D27
split-complementary
#0F1E5D #5D270F #455D0F
monochromatic
#04081A #060D28 #0F1E5D #172F92 #2040C6

Accessibility & contrast

On white

15.40
#0F1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F1E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E5D
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E5D#FFFFFF#000000##FFFFFF
##0F1E5D1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1e5d;
/* rgb */ color: rgb(15, 30, 93);
/* oklch */ color: oklch(27.1% 0.114 267.5);
Tailwind
colors: {
  custom: {
    50: '#5d598c',
    500: '#0f1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e5d;
$custom-light: #5d598c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e5d",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 228.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27073,
    "c": 0.1138,
    "h": 267.5
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#0F1E5D
secondary
#968331
accent
#CC39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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