#0F1C55#0F1C55

#0F1C55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.105 H 268.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0F1C55
RGBrgb(15, 28, 85)
HSLhsl(229, 70%, 20%)
HSVhsv(229, 82%, 33%)
CMYKcmyk(82.4%, 67.1%, 0%, 66.7%)
CIE-LABlab(13.16, 17.93, -36.14)
CIE-LCHlch(13.16, 40.34, 296.38°)
OKLaboklab(25.83% -0.0035 -0.1045)
OKLCHoklch(25.83% 0.105 268.1)
XYZxyz(2.2514, 1.5877, 8.7804)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C55 #55480F
analogous
#0F3F55 #0F1C55 #250F55
triadic
#0F1C55 #550F1C #1C550F
tetradic
#0F1C55 #550F3F #55480F #0F5525
square
#0F1C55 #550F3F #55480F #0F5525
split-complementary
#0F1C55 #55250F #3F550F
monochromatic
#05091A #060B21 #0F1C55 #182D89 #213EBD

Accessibility & contrast

On white

15.94
#0F1C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1C55
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C55#FFFFFF#000000##FFFFFF
##0F1C551.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1c55;
/* rgb */ color: rgb(15, 28, 85);
/* oklch */ color: oklch(25.8% 0.105 268.1);
Tailwind
colors: {
  custom: {
    50: '#5a5785',
    500: '#0f1c55',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c55;
$custom-light: #5a5785;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c55",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 228.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25826,
    "c": 0.10452,
    "h": 268.1
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#0F1C55
secondary
#8F7D31
accent
#CC3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1C55

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

Preview Lab → · Contrast checker → · Palette generator →

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