#0F1676#0F1676

#0F1676 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.157 H 268.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0F1676
RGBrgb(15, 22, 118)
HSLhsl(236, 77%, 26%)
HSVhsv(236, 87%, 46%)
CMYKcmyk(87.3%, 81.4%, 0%, 53.7%)
CIE-LABlab(15.40, 34.93, -54.23)
CIE-LCHlch(15.40, 64.51, 302.78°)
OKLaboklab(28.55% -0.0044 -0.1572)
OKLCHoklch(28.55% 0.157 268.4)
XYZxyz(3.7528, 1.9829, 17.3210)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1676 #766F0F
analogous
#0F4976 #0F1676 #3B0F76
triadic
#0F1676 #760F16 #16760F
tetradic
#0F1676 #760F49 #766F0F #0F763B
square
#0F1676 #760F49 #766F0F #0F763B
split-complementary
#0F1676 #763B0F #49760F
monochromatic
#03051B #080C40 #0F1676 #1620AC #1D2BE2

Accessibility & contrast

On white

15.04
#0F1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1676
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1676#FFFFFF#000000##FFFFFF
##0F16761.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f1676;
/* rgb */ color: rgb(15, 22, 118);
/* oklch */ color: oklch(28.5% 0.157 268.4);
Tailwind
colors: {
  custom: {
    50: '#65559f',
    500: '#0f1676',
    950: '#000000',
  },
}
SCSS
$custom: #0f1676;
$custom-light: #65559f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1676",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 235.922,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28548,
    "c": 0.15721,
    "h": 268.4
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#0F1676
secondary
#ADA533
accent
#E734F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1676

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

Preview Lab → · Contrast checker → · Palette generator →

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