#0F1568#0F1568

#0F1568 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.140 H 269.3°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0F1568
RGBrgb(15, 21, 104)
HSLhsl(236, 75%, 23%)
HSVhsv(236, 86%, 41%)
CMYKcmyk(85.6%, 79.8%, 0%, 59.2%)
CIE-LABlab(13.45, 30.41, -48.34)
CIE-LCHlch(13.45, 57.10, 302.17°)
OKLaboklab(26.67% -0.0017 -0.14)
OKLCHoklch(26.67% 0.14 269.3)
XYZxyz(2.9630, 1.6370, 13.2538)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1568 #68620F
analogous
#0F4168 #0F1568 #350F68
triadic
#0F1568 #680F15 #15680F
tetradic
#0F1568 #680F41 #68620F #0F6835
square
#0F1568 #680F41 #68620F #0F6835
split-complementary
#0F1568 #68350F #41680F
monochromatic
#04051B #070A33 #0F1568 #17209D #1E2BD3

Accessibility & contrast

On white

15.82
#0F1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1568
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1568#FFFFFF#000000##FFFFFF
##0F15681.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1568;
/* rgb */ color: rgb(15, 21, 104);
/* oklch */ color: oklch(26.7% 0.140 269.3);
Tailwind
colors: {
  custom: {
    50: '#615394',
    500: '#0f1568',
    950: '#000000',
  },
}
SCSS
$custom: #0f1568;
$custom-light: #615394;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1568",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 235.955,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2667,
    "c": 0.14005,
    "h": 269.3
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#0F1568
secondary
#A19932
accent
#E536F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1568

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

Preview Lab → · Contrast checker → · Palette generator →

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