#0F1476#0F1476

#0F1476 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.159 H 268.6°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#0F1476
RGBrgb(15, 20, 118)
HSLhsl(237, 77%, 26%)
HSVhsv(237, 87%, 46%)
CMYKcmyk(87.3%, 83.1%, 0%, 53.7%)
CIE-LABlab(15.00, 36.06, -54.89)
CIE-LCHlch(15.00, 65.67, 303.31°)
OKLaboklab(28.27% -0.004 -0.159)
OKLCHoklch(28.27% 0.159 268.6)
XYZxyz(3.7160, 1.9094, 17.3087)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1476 #76710F
analogous
#0F4776 #0F1476 #3D0F76
triadic
#0F1476 #760F14 #14760F
tetradic
#0F1476 #760F47 #76710F #0F763D
square
#0F1476 #760F47 #76710F #0F763D
split-complementary
#0F1476 #763D0F #47760F
monochromatic
#03051B #080B40 #0F1476 #161DAC #1D27E2

Accessibility & contrast

On white

15.20
#0F1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1476
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1476#FFFFFF#000000##FFFFFF
##0F14761.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f1476;
/* rgb */ color: rgb(15, 20, 118);
/* oklch */ color: oklch(28.3% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#65549f',
    500: '#0f1476',
    950: '#000000',
  },
}
SCSS
$custom: #0f1476;
$custom-light: #65549f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1476",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 237.087,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.15905,
    "h": 268.6
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#0F1476
secondary
#ADA733
accent
#EB34F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1476

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

Preview Lab → · Contrast checker → · Palette generator →

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