#0F1174#0F1174

#0F1174 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.159 H 268.9°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0F1174
RGBrgb(15, 17, 116)
HSLhsl(239, 77%, 26%)
HSVhsv(239, 87%, 45%)
CMYKcmyk(87.1%, 85.3%, 0%, 54.5%)
CIE-LABlab(14.19, 36.98, -54.95)
CIE-LCHlch(14.19, 66.23, 303.94°)
OKLaboklab(27.63% -0.003 -0.1591)
OKLCHoklch(27.63% 0.159 268.9)
XYZxyz(3.5488, 1.7630, 16.6729)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1174 #74720F
analogous
#0F4374 #0F1174 #3F0F74
triadic
#0F1174 #740F11 #11740F
tetradic
#0F1174 #740F43 #74720F #0F743F
square
#0F1174 #740F43 #74720F #0F743F
split-complementary
#0F1174 #743F0F #43740F
monochromatic
#04041B #08093E #0F1174 #1619AA #1D21E0

Accessibility & contrast

On white

15.53
#0F1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1174
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1174#FFFFFF#000000##FFFFFF
##0F11741.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f1174;
/* rgb */ color: rgb(15, 17, 116);
/* oklch */ color: oklch(27.6% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#65529d',
    500: '#0f1174',
    950: '#000000',
  },
}
SCSS
$custom: #0f1174;
$custom-light: #65529d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1174",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 238.812,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2763,
    "c": 0.15915,
    "h": 268.9
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#0F1174
secondary
#ACA933
accent
#F034F4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #0F1174

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

Preview Lab → · Contrast checker → · Palette generator →

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