#0F1576#0F1576

#0F1576 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.158 H 268.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#0F1576
RGBrgb(15, 21, 118)
HSLhsl(237, 77%, 26%)
HSVhsv(237, 87%, 46%)
CMYKcmyk(87.3%, 82.2%, 0%, 53.7%)
CIE-LABlab(15.20, 35.50, -54.57)
CIE-LCHlch(15.20, 65.10, 303.05°)
OKLaboklab(28.41% -0.0042 -0.1581)
OKLCHoklch(28.41% 0.158 268.5)
XYZxyz(3.7341, 1.9454, 17.3147)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1576 #76700F
analogous
#0F4876 #0F1576 #3C0F76
triadic
#0F1576 #760F15 #15760F
tetradic
#0F1576 #760F48 #76700F #0F763C
square
#0F1576 #760F48 #76700F #0F763C
split-complementary
#0F1576 #763C0F #48760F
monochromatic
#03051B #080B40 #0F1576 #161FAC #1D29E2

Accessibility & contrast

On white

15.12
#0F1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1576
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1576#FFFFFF#000000##FFFFFF
##0F15761.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1576;
/* rgb */ color: rgb(15, 21, 118);
/* oklch */ color: oklch(28.4% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#65549f',
    500: '#0f1576',
    950: '#000000',
  },
}
SCSS
$custom: #0f1576;
$custom-light: #65549f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1576",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 236.505,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28409,
    "c": 0.15814,
    "h": 268.5
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#0F1576
secondary
#ADA633
accent
#E934F4
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1576

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

Preview Lab → · Contrast checker → · Palette generator →

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