#0F1868#0F1868

#0F1868 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.137 H 268.8°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0F1868
RGBrgb(15, 24, 104)
HSLhsl(234, 75%, 23%)
HSVhsv(234, 86%, 41%)
CMYKcmyk(85.6%, 76.9%, 0%, 59.2%)
CIE-LABlab(14.14, 28.48, -47.20)
CIE-LCHlch(14.14, 55.13, 301.11°)
OKLaboklab(27.16% -0.0028 -0.1368)
OKLCHoklch(27.16% 0.137 268.8)
XYZxyz(3.0215, 1.7539, 13.2733)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1868 #685F0F
analogous
#0F4468 #0F1868 #320F68
triadic
#0F1868 #680F18 #18680F
tetradic
#0F1868 #680F44 #685F0F #0F6832
square
#0F1868 #680F44 #685F0F #0F6832
split-complementary
#0F1868 #68320F #44680F
monochromatic
#04061B #070C33 #0F1868 #17249D #1E31D3

Accessibility & contrast

On white

15.55
#0F1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1868
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1868#FFFFFF#000000##FFFFFF
##0F18681.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1868;
/* rgb */ color: rgb(15, 24, 104);
/* oklch */ color: oklch(27.2% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#615594',
    500: '#0f1868',
    950: '#000000',
  },
}
SCSS
$custom: #0f1868;
$custom-light: #615594;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1868",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 233.933,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.1368,
    "h": 268.8
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#0F1868
secondary
#A19532
accent
#DE36F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1868

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

Preview Lab → · Contrast checker → · Palette generator →

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