#0F1E60#0F1E60

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

Color values

HEX#0F1E60
RGBrgb(15, 30, 96)
HSLhsl(229, 73%, 22%)
HSVhsv(229, 84%, 38%)
CMYKcmyk(84.4%, 68.7%, 0%, 62.4%)
CIE-LABlab(14.81, 21.09, -40.80)
CIE-LCHlch(14.81, 45.93, 297.33°)
OKLaboklab(27.39% -0.0051 -0.1181)
OKLCHoklch(27.39% 0.118 267.5)
XYZxyz(2.7719, 1.8743, 11.2798)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E60 #60510F
analogous
#0F4760 #0F1E60 #290F60
triadic
#0F1E60 #600F1E #1E600F
tetradic
#0F1E60 #600F47 #60510F #0F6029
square
#0F1E60 #600F47 #60510F #0F6029
split-complementary
#0F1E60 #60290F #47600F
monochromatic
#04081A #070D2B #0F1E60 #172F95 #203FCA

Accessibility & contrast

On white

15.27
#0F1E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F1E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E60
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E60#FFFFFF#000000##FFFFFF
##0F1E601.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1e60;
/* rgb */ color: rgb(15, 30, 96);
/* oklch */ color: oklch(27.4% 0.118 267.5);
Tailwind
colors: {
  custom: {
    50: '#5d598e',
    500: '#0f1e60',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e60;
$custom-light: #5d598e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e60",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 228.889,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27386,
    "c": 0.11821,
    "h": 267.5
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#0F1E60
secondary
#998632
accent
#CE38F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1E60

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

Preview Lab → · Contrast checker → · Palette generator →

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