#0F1654#0F1654

#0F1654 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.111 H 270.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#0F1654
RGBrgb(15, 22, 84)
HSLhsl(234, 70%, 19%)
HSVhsv(234, 82%, 33%)
CMYKcmyk(82.1%, 73.8%, 0%, 67.1%)
CIE-LABlab(11.38, 21.91, -38.37)
CIE-LCHlch(11.38, 44.18, 299.73°)
OKLaboklab(24.49% 0.0007 -0.111)
OKLCHoklch(24.49% 0.111 270.4)
XYZxyz(2.0836, 1.3152, 8.5298)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1654 #544D0F
analogous
#0F3954 #0F1654 #2B0F54
triadic
#0F1654 #540F16 #16540F
tetradic
#0F1654 #540F39 #544D0F #0F542B
square
#0F1654 #540F39 #544D0F #0F542B
split-complementary
#0F1654 #542B0F #39540F
monochromatic
#05071A #060820 #0F1654 #182488 #2231BC

Accessibility & contrast

On white

16.63
#0F1654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1654
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1654#FFFFFF#000000##FFFFFF
##0F16541.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1654;
/* rgb */ color: rgb(15, 22, 84);
/* oklch */ color: oklch(24.5% 0.111 270.4);
Tailwind
colors: {
  custom: {
    50: '#5b5385',
    500: '#0f1654',
    950: '#000000',
  },
}
SCSS
$custom: #0f1654;
$custom-light: #5b5385;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1654",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 233.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.11103,
    "h": 270.4
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#0F1654
secondary
#8E8531
accent
#DB3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1654

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

Preview Lab → · Contrast checker → · Palette generator →

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