#0F1E5F#0F1E5F

#0F1E5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.117 H 267.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0F1E5F
RGBrgb(15, 30, 95)
HSLhsl(229, 73%, 22%)
HSVhsv(229, 84%, 37%)
CMYKcmyk(84.2%, 68.4%, 0%, 62.7%)
CIE-LABlab(14.71, 20.67, -40.30)
CIE-LCHlch(14.71, 45.30, 297.15°)
OKLaboklab(27.28% -0.0051 -0.1166)
OKLCHoklch(27.28% 0.117 267.5)
XYZxyz(2.7261, 1.8560, 11.0388)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E5F #5F500F
analogous
#0F465F #0F1E5F #280F5F
triadic
#0F1E5F #5F0F1E #1E5F0F
tetradic
#0F1E5F #5F0F46 #5F500F #0F5F28
square
#0F1E5F #5F0F46 #5F500F #0F5F28
split-complementary
#0F1E5F #5F280F #465F0F
monochromatic
#04081A #070D2A #0F1E5F #172F94 #203FC9

Accessibility & contrast

On white

15.32
#0F1E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F1E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E5F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E5F#FFFFFF#000000##FFFFFF
##0F1E5F1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1e5f;
/* rgb */ color: rgb(15, 30, 95);
/* oklch */ color: oklch(27.3% 0.117 267.5);
Tailwind
colors: {
  custom: {
    50: '#5d598d',
    500: '#0f1e5f',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e5f;
$custom-light: #5d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e5f",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 228.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27281,
    "c": 0.11675,
    "h": 267.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#0F1E5F
secondary
#988532
accent
#CD38EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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