#0F1167#0F1167

#0F1167 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.143 H 269.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#0F1167
RGBrgb(15, 17, 103)
HSLhsl(239, 75%, 23%)
HSVhsv(239, 85%, 40%)
CMYKcmyk(85.4%, 83.5%, 0%, 59.6%)
CIE-LABlab(12.49, 32.44, -49.27)
CIE-LCHlch(12.49, 59.00, 303.36°)
OKLaboklab(25.95% -0.0002 -0.1427)
OKLCHoklch(25.95% 0.143 269.9)
XYZxyz(2.8448, 1.4814, 12.9653)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1167 #67650F
analogous
#0F3D67 #0F1167 #390F67
triadic
#0F1167 #670F11 #11670F
tetradic
#0F1167 #670F3D #67650F #0F6739
square
#0F1167 #670F3D #67650F #0F6739
split-complementary
#0F1167 #67390F #3D670F
monochromatic
#04041B #070832 #0F1167 #171A9C #1F23D2

Accessibility & contrast

On white

16.20
#0F1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1167
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1167#FFFFFF#000000##FFFFFF
##0F11671.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1167;
/* rgb */ color: rgb(15, 17, 103);
/* oklch */ color: oklch(26.0% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#615193',
    500: '#0f1167',
    950: '#000000',
  },
}
SCSS
$custom: #0f1167;
$custom-light: #615193;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1167",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 238.636,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.14271,
    "h": 269.9
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#0F1167
secondary
#A09D32
accent
#ED37F1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1167

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

Preview Lab → · Contrast checker → · Palette generator →

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