#0F1176#0F1176

#0F1176 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.162 H 268.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0F1176
RGBrgb(15, 17, 118)
HSLhsl(239, 77%, 26%)
HSVhsv(239, 87%, 46%)
CMYKcmyk(87.3%, 85.6%, 0%, 53.7%)
CIE-LABlab(14.46, 37.66, -55.80)
CIE-LCHlch(14.46, 67.32, 304.02°)
OKLaboklab(27.89% -0.0034 -0.1616)
OKLCHoklch(27.89% 0.162 268.8)
XYZxyz(3.6663, 1.8100, 17.2922)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1176 #76740F
analogous
#0F4476 #0F1176 #400F76
triadic
#0F1176 #760F11 #11760F
tetradic
#0F1176 #760F44 #76740F #0F7640
square
#0F1176 #760F44 #76740F #0F7640
split-complementary
#0F1176 #76400F #44760F
monochromatic
#03041B #080940 #0F1176 #1619AC #1D21E2

Accessibility & contrast

On white

15.42
#0F1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F1176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1176
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1176#FFFFFF#000000##FFFFFF
##0F11761.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#001F74
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1176;
/* rgb */ color: rgb(15, 17, 118);
/* oklch */ color: oklch(27.9% 0.162 268.8);
Tailwind
colors: {
  custom: {
    50: '#66529f',
    500: '#0f1176',
    950: '#000000',
  },
}
SCSS
$custom: #0f1176;
$custom-light: #66529f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1176",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 238.835,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27891,
    "c": 0.16161,
    "h": 268.8
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#0F1176
secondary
#ADAB33
accent
#F034F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #0F1176

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

Preview Lab → · Contrast checker → · Palette generator →

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