#0F1960#0F1960

#0F1960 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.125 H 269.0°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#0F1960
RGBrgb(15, 25, 96)
HSLhsl(233, 73%, 22%)
HSVhsv(233, 84%, 38%)
CMYKcmyk(84.4%, 74%, 0%, 62.4%)
CIE-LABlab(13.48, 24.65, -43.00)
CIE-LCHlch(13.48, 49.57, 299.83°)
OKLaboklab(26.41% -0.0023 -0.1245)
OKLCHoklch(26.41% 0.125 269)
XYZxyz(2.6552, 1.6410, 11.2409)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1960 #60560F
analogous
#0F4260 #0F1960 #2E0F60
triadic
#0F1960 #600F19 #19600F
tetradic
#0F1960 #600F42 #60560F #0F602E
square
#0F1960 #600F42 #60560F #0F602E
split-complementary
#0F1960 #602E0F #42600F
monochromatic
#04071A #070B2B #0F1960 #172795 #2035CA

Accessibility & contrast

On white

15.81
#0F1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1960
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1960#FFFFFF#000000##FFFFFF
##0F19601.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1960;
/* rgb */ color: rgb(15, 25, 96);
/* oklch */ color: oklch(26.4% 0.125 269.0);
Tailwind
colors: {
  custom: {
    50: '#5e568e',
    500: '#0f1960',
    950: '#000000',
  },
}
SCSS
$custom: #0f1960;
$custom-light: #5e568e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1960",
  "rgb": {
    "r": 15,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 232.593,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26411,
    "c": 0.12456,
    "h": 269
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#0F1960
secondary
#998C32
accent
#D938F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0F1960

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

Preview Lab → · Contrast checker → · Palette generator →

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