#0F1854#0F1854

#0F1854 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.108 H 269.7°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#0F1854
RGBrgb(15, 24, 84)
HSLhsl(232, 70%, 19%)
HSVhsv(232, 82%, 33%)
CMYKcmyk(82.1%, 71.4%, 0%, 67.1%)
CIE-LABlab(11.92, 20.46, -37.48)
CIE-LCHlch(11.92, 42.70, 298.63°)
OKLaboklab(24.89% -0.0006 -0.1084)
OKLCHoklch(24.89% 0.108 269.7)
XYZxyz(2.1233, 1.3947, 8.5431)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1854 #544B0F
analogous
#0F3B54 #0F1854 #290F54
triadic
#0F1854 #540F18 #18540F
tetradic
#0F1854 #540F3B #544B0F #0F5429
square
#0F1854 #540F3B #544B0F #0F5429
split-complementary
#0F1854 #54290F #3B540F
monochromatic
#05071A #060920 #0F1854 #182788 #2236BC

Accessibility & contrast

On white

16.42
#0F1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1854
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1854#FFFFFF#000000##FFFFFF
##0F18541.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1854;
/* rgb */ color: rgb(15, 24, 84);
/* oklch */ color: oklch(24.9% 0.108 269.7);
Tailwind
colors: {
  custom: {
    50: '#5a5485',
    500: '#0f1854',
    950: '#000000',
  },
}
SCSS
$custom: #0f1854;
$custom-light: #5a5485;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1854",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 232.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24888,
    "c": 0.10842,
    "h": 269.7
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#0F1854
secondary
#8E8231
accent
#D53BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1854

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

Preview Lab → · Contrast checker → · Palette generator →

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