#0F1D5E#0F1D5E

#0F1D5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.117 H 267.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#0F1D5E
RGBrgb(15, 29, 94)
HSLhsl(229, 72%, 21%)
HSVhsv(229, 84%, 37%)
CMYKcmyk(84%, 69.1%, 0%, 63.1%)
CIE-LABlab(14.33, 20.98, -40.26)
CIE-LCHlch(14.33, 45.40, 297.53°)
OKLaboklab(26.97% -0.0044 -0.1165)
OKLCHoklch(26.97% 0.117 267.8)
XYZxyz(2.6560, 1.7881, 10.7927)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D5E #5E500F
analogous
#0F455E #0F1D5E #290F5E
triadic
#0F1D5E #5E0F1D #1D5E0F
tetradic
#0F1D5E #5E0F45 #5E500F #0F5E29
square
#0F1D5E #5E0F45 #5E500F #0F5E29
split-complementary
#0F1D5E #5E290F #455E0F
monochromatic
#04081A #070D29 #0F1D5E #172D93 #203EC8

Accessibility & contrast

On white

15.47
#0F1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D5E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D5E#FFFFFF#000000##FFFFFF
##0F1D5E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1d5e;
/* rgb */ color: rgb(15, 29, 94);
/* oklch */ color: oklch(27.0% 0.117 267.8);
Tailwind
colors: {
  custom: {
    50: '#5d588c',
    500: '#0f1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d5e;
$custom-light: #5d588c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d5e",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 229.367,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26971,
    "c": 0.11659,
    "h": 267.8
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#0F1D5E
secondary
#978531
accent
#CF39EF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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