#0F1C56#0F1C56

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

Color values

HEX#0F1C56
RGBrgb(15, 28, 86)
HSLhsl(229, 70%, 20%)
HSVhsv(229, 83%, 34%)
CMYKcmyk(82.6%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.25, 18.35, -36.66)
CIE-LCHlch(13.25, 40.99, 296.59°)
OKLaboklab(25.93% -0.0035 -0.106)
OKLCHoklch(25.93% 0.106 268.1)
XYZxyz(2.2914, 1.6037, 8.9911)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1C56 #56490F
analogous
#0F4056 #0F1C56 #260F56
triadic
#0F1C56 #560F1C #1C560F
tetradic
#0F1C56 #560F40 #56490F #0F5626
square
#0F1C56 #560F40 #56490F #0F5626
split-complementary
#0F1C56 #56260F #40560F
monochromatic
#05081A #060B22 #0F1C56 #182D8A #213EBE

Accessibility & contrast

On white

15.90
#0F1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1C56
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1C56#FFFFFF#000000##FFFFFF
##0F1C561.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f1c56;
/* rgb */ color: rgb(15, 28, 86);
/* oklch */ color: oklch(25.9% 0.106 268.1);
Tailwind
colors: {
  custom: {
    50: '#5b5786',
    500: '#0f1c56',
    950: '#000000',
  },
}
SCSS
$custom: #0f1c56;
$custom-light: #5b5786;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1c56",
  "rgb": {
    "r": 15,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 229.014,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25929,
    "c": 0.10604,
    "h": 268.1
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#0F1C56
secondary
#907E31
accent
#CC3BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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