#0F1474#0F1474

#0F1474 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.157 H 268.7°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#0F1474
RGBrgb(15, 20, 116)
HSLhsl(237, 77%, 26%)
HSVhsv(237, 87%, 45%)
CMYKcmyk(87.1%, 82.8%, 0%, 54.5%)
CIE-LABlab(14.75, 35.36, -54.02)
CIE-LCHlch(14.75, 64.56, 303.21°)
OKLaboklab(28.02% -0.0036 -0.1565)
OKLCHoklch(28.02% 0.157 268.7)
XYZxyz(3.5985, 1.8624, 16.6894)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1474 #746F0F
analogous
#0F4674 #0F1474 #3C0F74
triadic
#0F1474 #740F14 #14740F
tetradic
#0F1474 #740F46 #746F0F #0F743C
square
#0F1474 #740F46 #746F0F #0F743C
split-complementary
#0F1474 #743C0F #46740F
monochromatic
#04051B #080B3E #0F1474 #161DAA #1D27E0

Accessibility & contrast

On white

15.30
#0F1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1474
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1474#FFFFFF#000000##FFFFFF
##0F14741.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1474;
/* rgb */ color: rgb(15, 20, 116);
/* oklch */ color: oklch(28.0% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#65539d',
    500: '#0f1474',
    950: '#000000',
  },
}
SCSS
$custom: #0f1474;
$custom-light: #65539d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1474",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 237.03,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.15654,
    "h": 268.7
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#0F1474
secondary
#ACA633
accent
#EA34F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #0F1474

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

Preview Lab → · Contrast checker → · Palette generator →

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