#0F1768#0F1768

#0F1768 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.138 H 269.0°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#0F1768
RGBrgb(15, 23, 104)
HSLhsl(235, 75%, 23%)
HSVhsv(235, 86%, 41%)
CMYKcmyk(85.6%, 77.9%, 0%, 59.2%)
CIE-LABlab(13.91, 29.13, -47.59)
CIE-LCHlch(13.91, 55.80, 301.47°)
OKLaboklab(26.99% -0.0024 -0.1379)
OKLCHoklch(26.99% 0.138 269)
XYZxyz(3.0012, 1.7135, 13.2666)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1768 #68600F
analogous
#0F4368 #0F1768 #330F68
triadic
#0F1768 #680F17 #17680F
tetradic
#0F1768 #680F43 #68600F #0F6833
square
#0F1768 #680F43 #68600F #0F6833
split-complementary
#0F1768 #68330F #43680F
monochromatic
#04061B #070B33 #0F1768 #17239D #1E2FD3

Accessibility & contrast

On white

15.64
#0F1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1768
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1768#FFFFFF#000000##FFFFFF
##0F17681.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1768;
/* rgb */ color: rgb(15, 23, 104);
/* oklch */ color: oklch(27.0% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#615594',
    500: '#0f1768',
    950: '#000000',
  },
}
SCSS
$custom: #0f1768;
$custom-light: #615594;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1768",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 234.607,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26991,
    "c": 0.13791,
    "h": 269
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#0F1768
secondary
#A19732
accent
#E136F1
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1768

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

Preview Lab → · Contrast checker → · Palette generator →

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