#0F1D60#0F1D60

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

Color values

HEX#0F1D60
RGBrgb(15, 29, 96)
HSLhsl(230, 73%, 22%)
HSVhsv(230, 84%, 38%)
CMYKcmyk(84.4%, 69.8%, 0%, 62.4%)
CIE-LABlab(14.54, 21.81, -41.26)
CIE-LCHlch(14.54, 46.67, 297.87°)
OKLaboklab(27.18% -0.0045 -0.1194)
OKLCHoklch(27.18% 0.12 267.8)
XYZxyz(2.7470, 1.8245, 11.2715)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D60 #60520F
analogous
#0F4660 #0F1D60 #2A0F60
triadic
#0F1D60 #600F1D #1D600F
tetradic
#0F1D60 #600F46 #60520F #0F602A
square
#0F1D60 #600F46 #60520F #0F602A
split-complementary
#0F1D60 #602A0F #46600F
monochromatic
#04081A #070D2B #0F1D60 #172D95 #203DCA

Accessibility & contrast

On white

15.38
#0F1D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1D60
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D60#FFFFFF#000000##FFFFFF
##0F1D601.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1d60;
/* rgb */ color: rgb(15, 29, 96);
/* oklch */ color: oklch(27.2% 0.120 267.8);
Tailwind
colors: {
  custom: {
    50: '#5e588e',
    500: '#0f1d60',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d60;
$custom-light: #5e588e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d60",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 229.63,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.11952,
    "h": 267.8
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#0F1D60
secondary
#998732
accent
#D038F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1D60

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

Preview Lab → · Contrast checker → · Palette generator →

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