#0F1E76#0F1E76

#0F1E76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.149 H 267.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0F1E76
RGBrgb(15, 30, 118)
HSLhsl(231, 77%, 26%)
HSVhsv(231, 87%, 46%)
CMYKcmyk(87.3%, 74.6%, 0%, 53.7%)
CIE-LABlab(17.17, 29.94, -51.31)
CIE-LCHlch(17.17, 59.40, 300.26°)
OKLaboklab(29.81% -0.0068 -0.1487)
OKLCHoklch(29.81% 0.149 267.4)
XYZxyz(3.9302, 2.3376, 17.3801)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E76 #76670F
analogous
#0F5176 #0F1E76 #330F76
triadic
#0F1E76 #760F1E #1E760F
tetradic
#0F1E76 #760F51 #76670F #0F7633
square
#0F1E76 #760F51 #76670F #0F7633
split-complementary
#0F1E76 #76330F #51760F
monochromatic
#03071B #081040 #0F1E76 #162CAC #1D3AE2

Accessibility & contrast

On white

14.31
#0F1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E76
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E76#FFFFFF#000000##FFFFFF
##0F1E761.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1e76;
/* rgb */ color: rgb(15, 30, 118);
/* oklch */ color: oklch(29.8% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#645a9f',
    500: '#0f1e76',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e76;
$custom-light: #645a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e76",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 231.262,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29809,
    "c": 0.14888,
    "h": 267.4
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#0F1E76
secondary
#AD9C33
accent
#D834F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #0F1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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