#0F1C60#0F1C60

#0F1C60 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.0% C 0.121 H 268.1°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#0F1C60
RGBrgb(15, 28, 96)
HSLhsl(230, 73%, 22%)
HSVhsv(230, 84%, 38%)
CMYKcmyk(84.4%, 70.8%, 0%, 62.4%)
CIE-LABlab(14.27, 22.53, -41.70)
CIE-LCHlch(14.27, 47.40, 298.38°)
OKLaboklab(26.99% -0.0039 -0.1207)
OKLCHoklch(26.99% 0.121 268.1)
XYZxyz(2.7228, 1.7763, 11.2634)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C60 #60530F
analogous
#0F4560 #0F1C60 #2B0F60
triadic
#0F1C60 #600F1C #1C600F
tetradic
#0F1C60 #600F45 #60530F #0F602B
square
#0F1C60 #600F45 #60530F #0F602B
split-complementary
#0F1C60 #602B0F #45600F
monochromatic
#04081A #070D2B #0F1C60 #172B95 #203BCA

Accessibility & contrast

On white

15.49
#0F1C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1C60
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C60#FFFFFF#000000##FFFFFF
##0F1C601.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1c60;
/* rgb */ color: rgb(15, 28, 96);
/* oklch */ color: oklch(27.0% 0.121 268.1);
Tailwind
colors: {
  custom: {
    50: '#5e588e',
    500: '#0f1c60',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c60;
$custom-light: #5e588e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c60",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 230.37,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26985,
    "c": 0.1208,
    "h": 268.1
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#0F1C60
secondary
#998932
accent
#D238F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1C60

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

Preview Lab → · Contrast checker → · Palette generator →

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