#0F1C76#0F1C76

#0F1C76 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.151 H 267.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0F1C76
RGBrgb(15, 28, 118)
HSLhsl(232, 77%, 26%)
HSVhsv(232, 87%, 46%)
CMYKcmyk(87.3%, 76.3%, 0%, 53.7%)
CIE-LABlab(16.70, 31.24, -52.08)
CIE-LCHlch(16.70, 60.73, 300.96°)
OKLaboklab(29.47% -0.0061 -0.151)
OKLCHoklch(29.47% 0.151 267.7)
XYZxyz(3.8811, 2.2396, 17.3638)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C76 #76690F
analogous
#0F4F76 #0F1C76 #350F76
triadic
#0F1C76 #760F1C #1C760F
tetradic
#0F1C76 #760F4F #76690F #0F7635
square
#0F1C76 #760F4F #76690F #0F7635
split-complementary
#0F1C76 #76350F #4F760F
monochromatic
#03061B #080F40 #0F1C76 #1629AC #1D36E2

Accessibility & contrast

On white

14.50
#0F1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1C76
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C76#FFFFFF#000000##FFFFFF
##0F1C761.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f1c76;
/* rgb */ color: rgb(15, 28, 118);
/* oklch */ color: oklch(29.5% 0.151 267.7);
Tailwind
colors: {
  custom: {
    50: '#64599f',
    500: '#0f1c76',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c76;
$custom-light: #64599f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c76",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 232.427,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.15109,
    "h": 267.7
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#0F1C76
secondary
#AD9E33
accent
#DC34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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