#0F1E56#0F1E56

#0F1E56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.103 H 267.2°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#0F1E56
RGBrgb(15, 30, 86)
HSLhsl(227, 70%, 20%)
HSVhsv(227, 83%, 34%)
CMYKcmyk(82.6%, 65.1%, 0%, 66.3%)
CIE-LABlab(13.84, 16.86, -35.70)
CIE-LCHlch(13.84, 39.48, 295.27°)
OKLaboklab(26.36% -0.005 -0.1031)
OKLCHoklch(26.36% 0.103 267.2)
XYZxyz(2.3404, 1.7017, 9.0074)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1E56 #56470F
analogous
#0F4256 #0F1E56 #240F56
triadic
#0F1E56 #560F1E #1E560F
tetradic
#0F1E56 #560F42 #56470F #0F5624
square
#0F1E56 #560F42 #56470F #0F5624
split-complementary
#0F1E56 #56240F #42560F
monochromatic
#05091A #060C22 #0F1E56 #18308A #2142BE

Accessibility & contrast

On white

15.67
#0F1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1E56
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1E56#FFFFFF#000000##FFFFFF
##0F1E561.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f1e56;
/* rgb */ color: rgb(15, 30, 86);
/* oklch */ color: oklch(26.4% 0.103 267.2);
Tailwind
colors: {
  custom: {
    50: '#5a5986',
    500: '#0f1e56',
    950: '#000000',
  },
}
SCSS
$custom: #0f1e56;
$custom-light: #5a5986;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1e56",
  "rgb": {
    "r": 15,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 227.324,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26362,
    "c": 0.10327,
    "h": 267.2
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#0F1E56
secondary
#907C31
accent
#C73BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0F1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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