#0F1368#0F1368

#0F1368 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.142 H 269.6°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#0F1368
RGBrgb(15, 19, 104)
HSLhsl(237, 75%, 23%)
HSVhsv(237, 86%, 41%)
CMYKcmyk(85.6%, 81.7%, 0%, 59.2%)
CIE-LABlab(13.02, 31.63, -49.05)
CIE-LCHlch(13.02, 58.36, 302.82°)
OKLaboklab(26.37% -0.001 -0.1421)
OKLCHoklch(26.37% 0.142 269.6)
XYZxyz(2.9277, 1.5664, 13.2421)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1368 #68640F
analogous
#0F3F68 #0F1368 #370F68
triadic
#0F1368 #680F13 #13680F
tetradic
#0F1368 #680F3F #68640F #0F6837
square
#0F1368 #680F3F #68640F #0F6837
split-complementary
#0F1368 #68370F #3F680F
monochromatic
#04051B #070933 #0F1368 #171D9D #1E27D3

Accessibility & contrast

On white

15.99
#0F1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1368
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1368#FFFFFF#000000##FFFFFF
##0F13681.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1368;
/* rgb */ color: rgb(15, 19, 104);
/* oklch */ color: oklch(26.4% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#615294',
    500: '#0f1368',
    950: '#000000',
  },
}
SCSS
$custom: #0f1368;
$custom-light: #615294;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1368",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 237.303,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26367,
    "c": 0.14208,
    "h": 269.6
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#0F1368
secondary
#A19C32
accent
#E936F1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #0F1368

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

Preview Lab → · Contrast checker → · Palette generator →

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