#0F1D54#0F1D54

#0F1D54 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.102 H 267.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0F1D54
RGBrgb(15, 29, 84)
HSLhsl(228, 70%, 19%)
HSVhsv(228, 82%, 33%)
CMYKcmyk(82.1%, 65.5%, 0%, 67.1%)
CIE-LABlab(13.35, 16.75, -35.14)
CIE-LCHlch(13.35, 38.93, 295.49°)
OKLaboklab(25.94% -0.0042 -0.1015)
OKLCHoklch(25.94% 0.102 267.6)
XYZxyz(2.2360, 1.6201, 8.5807)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D54 #54460F
analogous
#0F4054 #0F1D54 #240F54
triadic
#0F1D54 #540F1D #1D540F
tetradic
#0F1D54 #540F40 #54460F #0F5424
square
#0F1D54 #540F40 #54460F #0F5424
split-complementary
#0F1D54 #54240F #40540F
monochromatic
#05091A #060B20 #0F1D54 #182F88 #2241BC

Accessibility & contrast

On white

15.86
#0F1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F1D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D54
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D54#FFFFFF#000000##FFFFFF
##0F1D541.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1d54;
/* rgb */ color: rgb(15, 29, 84);
/* oklch */ color: oklch(25.9% 0.102 267.6);
Tailwind
colors: {
  custom: {
    50: '#5a5885',
    500: '#0f1d54',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d54;
$custom-light: #5a5885;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d54",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 227.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25943,
    "c": 0.1016,
    "h": 267.6
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#0F1D54
secondary
#8E7B31
accent
#C93BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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