#0F1D76#0F1D76

#0F1D76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.150 H 267.5°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0F1D76
RGBrgb(15, 29, 118)
HSLhsl(232, 77%, 26%)
HSVhsv(232, 87%, 46%)
CMYKcmyk(87.3%, 75.4%, 0%, 53.7%)
CIE-LABlab(16.93, 30.59, -51.70)
CIE-LCHlch(16.93, 60.07, 300.61°)
OKLaboklab(29.64% -0.0065 -0.1499)
OKLCHoklch(29.64% 0.15 267.5)
XYZxyz(3.9052, 2.2878, 17.3718)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D76 #76680F
analogous
#0F5076 #0F1D76 #340F76
triadic
#0F1D76 #760F1D #1D760F
tetradic
#0F1D76 #760F50 #76680F #0F7634
square
#0F1D76 #760F50 #76680F #0F7634
split-complementary
#0F1D76 #76340F #50760F
monochromatic
#03071B #081040 #0F1D76 #162AAC #1D38E2

Accessibility & contrast

On white

14.41
#0F1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D76
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D76#FFFFFF#000000##FFFFFF
##0F1D761.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f1d76;
/* rgb */ color: rgb(15, 29, 118);
/* oklch */ color: oklch(29.6% 0.150 267.5);
Tailwind
colors: {
  custom: {
    50: '#64599f',
    500: '#0f1d76',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d76;
$custom-light: #64599f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d76",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 231.845,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29639,
    "c": 0.15,
    "h": 267.5
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#0F1D76
secondary
#AD9D33
accent
#DA34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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