#0F1668#0F1668

#0F1668 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.139 H 269.2°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#0F1668
RGBrgb(15, 22, 104)
HSLhsl(235, 75%, 23%)
HSVhsv(235, 86%, 41%)
CMYKcmyk(85.6%, 78.8%, 0%, 59.2%)
CIE-LABlab(13.68, 29.77, -47.97)
CIE-LCHlch(13.68, 56.46, 301.83°)
OKLaboklab(26.83% -0.002 -0.139)
OKLCHoklch(26.83% 0.139 269.2)
XYZxyz(2.9817, 1.6745, 13.2601)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1668 #68610F
analogous
#0F4268 #0F1668 #340F68
triadic
#0F1668 #680F16 #16680F
tetradic
#0F1668 #680F42 #68610F #0F6834
square
#0F1668 #680F42 #68610F #0F6834
split-complementary
#0F1668 #68340F #42680F
monochromatic
#04061B #070B33 #0F1668 #17219D #1E2DD3

Accessibility & contrast

On white

15.73
#0F1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1668
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1668#FFFFFF#000000##FFFFFF
##0F16681.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1668;
/* rgb */ color: rgb(15, 22, 104);
/* oklch */ color: oklch(26.8% 0.139 269.2);
Tailwind
colors: {
  custom: {
    50: '#615494',
    500: '#0f1668',
    950: '#000000',
  },
}
SCSS
$custom: #0f1668;
$custom-light: #615494;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1668",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 235.281,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.13899,
    "h": 269.2
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#0F1668
secondary
#A19832
accent
#E336F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1668

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

Preview Lab → · Contrast checker → · Palette generator →

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