#0F1166#0F1166

#0F1166 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.141 H 270.0°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#0F1166
RGBrgb(15, 17, 102)
HSLhsl(239, 74%, 23%)
HSVhsv(239, 85%, 40%)
CMYKcmyk(85.3%, 83.3%, 0%, 60%)
CIE-LABlab(12.36, 32.08, -48.83)
CIE-LCHlch(12.36, 58.43, 303.31°)
OKLaboklab(25.83% 0 -0.1414)
OKLCHoklch(25.83% 0.141 270)
XYZxyz(2.7949, 1.4614, 12.7026)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1166 #66640F
analogous
#0F3C66 #0F1166 #390F66
triadic
#0F1166 #660F11 #11660F
tetradic
#0F1166 #660F3C #66640F #0F6639
square
#0F1166 #660F3C #66640F #0F6639
split-complementary
#0F1166 #66390F #3C660F
monochromatic
#04041B #070831 #0F1166 #171A9B #1F23D1

Accessibility & contrast

On white

16.25
#0F1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1166
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1166#FFFFFF#000000##FFFFFF
##0F11661.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001C65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f1166;
/* rgb */ color: rgb(15, 17, 102);
/* oklch */ color: oklch(25.8% 0.141 270.0);
Tailwind
colors: {
  custom: {
    50: '#615193',
    500: '#0f1166',
    950: '#000000',
  },
}
SCSS
$custom: #0f1166;
$custom-light: #615193;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1166",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 238.621,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25826,
    "c": 0.14141,
    "h": 270
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#0F1166
secondary
#9F9C32
accent
#ED37F1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1166

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

Preview Lab → · Contrast checker → · Palette generator →

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