#0F1068#0F1068

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

Color values

HEX#0F1068
RGBrgb(15, 16, 104)
HSLhsl(239, 75%, 23%)
HSVhsv(239, 86%, 41%)
CMYKcmyk(85.6%, 84.6%, 0%, 59.2%)
CIE-LABlab(12.42, 33.36, -50.04)
CIE-LCHlch(12.42, 60.14, 303.69°)
OKLaboklab(25.95% -0.0002 -0.1449)
OKLCHoklch(25.95% 0.145 269.9)
XYZxyz(2.8801, 1.4713, 13.2262)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1068 #68670F
analogous
#0F3C68 #0F1068 #3A0F68
triadic
#0F1068 #680F10 #10680F
tetradic
#0F1068 #680F3C #68670F #0F683A
square
#0F1068 #680F3C #68670F #0F683A
split-complementary
#0F1068 #683A0F #3C680F
monochromatic
#04041B #070833 #0F1068 #17189D #1E20D3

Accessibility & contrast

On white

16.22
#0F1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1068
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1068#FFFFFF#000000##FFFFFF
##0F10681.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1068;
/* rgb */ color: rgb(15, 16, 104);
/* oklch */ color: oklch(25.9% 0.145 269.9);
Tailwind
colors: {
  custom: {
    50: '#615094',
    500: '#0f1068',
    950: '#000000',
  },
}
SCSS
$custom: #0f1068;
$custom-light: #615094;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1068",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 239.326,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.25946,
    "c": 0.14491,
    "h": 269.9
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#0F1068
secondary
#A19F32
accent
#EF36F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1068

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

Preview Lab → · Contrast checker → · Palette generator →

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