#0F1B76#0F1B76

#0F1B76 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.152 H 267.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0F1B76
RGBrgb(15, 27, 118)
HSLhsl(233, 77%, 26%)
HSVhsv(233, 87%, 46%)
CMYKcmyk(87.3%, 77.1%, 0%, 53.7%)
CIE-LABlab(16.47, 31.88, -52.46)
CIE-LCHlch(16.47, 61.39, 301.29°)
OKLaboklab(29.31% -0.0058 -0.1521)
OKLCHoklch(29.31% 0.152 267.8)
XYZxyz(3.8578, 2.1930, 17.3560)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B76 #766A0F
analogous
#0F4E76 #0F1B76 #360F76
triadic
#0F1B76 #760F1B #1B760F
tetradic
#0F1B76 #760F4E #766A0F #0F7636
square
#0F1B76 #760F4E #766A0F #0F7636
split-complementary
#0F1B76 #76360F #4E760F
monochromatic
#03061B #080F40 #0F1B76 #1627AC #1D34E2

Accessibility & contrast

On white

14.60
#0F1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1B76
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1B76#FFFFFF#000000##FFFFFF
##0F1B761.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.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: #0f1b76;
/* rgb */ color: rgb(15, 27, 118);
/* oklch */ color: oklch(29.3% 0.152 267.8);
Tailwind
colors: {
  custom: {
    50: '#64589f',
    500: '#0f1b76',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b76;
$custom-light: #64589f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b76",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 233.01,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.15217,
    "h": 267.8
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#0F1B76
secondary
#AD9F33
accent
#DE34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #0F1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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