#0F1168#0F1168

#0F1168 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.144 H 269.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#0F1168
RGBrgb(15, 17, 104)
HSLhsl(239, 75%, 23%)
HSVhsv(239, 86%, 41%)
CMYKcmyk(85.6%, 83.7%, 0%, 59.2%)
CIE-LABlab(12.62, 32.80, -49.72)
CIE-LCHlch(12.62, 59.57, 303.41°)
OKLaboklab(26.08% -0.0004 -0.144)
OKLCHoklch(26.08% 0.144 269.8)
XYZxyz(2.8953, 1.5016, 13.2313)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1168 #68660F
analogous
#0F3D68 #0F1168 #390F68
triadic
#0F1168 #680F11 #11680F
tetradic
#0F1168 #680F3D #68660F #0F6839
square
#0F1168 #680F3D #68660F #0F6839
split-complementary
#0F1168 #68390F #3D680F
monochromatic
#04041B #070833 #0F1168 #171A9D #1E22D3

Accessibility & contrast

On white

16.15
#0F1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1168
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1168#FFFFFF#000000##FFFFFF
##0F11681.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256A
Deuteranopia (green-blind)
#001C67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f1168;
/* rgb */ color: rgb(15, 17, 104);
/* oklch */ color: oklch(26.1% 0.144 269.8);
Tailwind
colors: {
  custom: {
    50: '#615194',
    500: '#0f1168',
    950: '#000000',
  },
}
SCSS
$custom: #0f1168;
$custom-light: #615194;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1168",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 238.652,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26081,
    "c": 0.144,
    "h": 269.8
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#0F1168
secondary
#A19E32
accent
#ED36F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1168

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

Preview Lab → · Contrast checker → · Palette generator →

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