#0E1F55#0E1F55

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

Color values

HEX#0E1F55
RGBrgb(14, 31, 85)
HSLhsl(226, 72%, 19%)
HSVhsv(226, 84%, 33%)
CMYKcmyk(83.5%, 63.5%, 0%, 66.7%)
CIE-LABlab(14.00, 15.54, -34.77)
CIE-LCHlch(14.00, 38.09, 294.09°)
OKLaboklab(26.44% -0.0067 -0.1004)
OKLCHoklch(26.44% 0.101 266.2)
XYZxyz(2.3102, 1.7290, 8.8045)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1F55 #55440E
analogous
#0E4355 #0E1F55 #210E55
triadic
#0E1F55 #550E1F #1F550E
tetradic
#0E1F55 #550E43 #55440E #0E5521
square
#0E1F55 #550E43 #55440E #0E5521
split-complementary
#0E1F55 #55210E #43550E
monochromatic
#040A1A #050C20 #0E1F55 #17328A #1F45BE

Accessibility & contrast

On white

15.60
#0E1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0E1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1F55
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1F55#FFFFFF#000000##FFFFFF
##0E1F551.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e1f55;
/* rgb */ color: rgb(14, 31, 85);
/* oklch */ color: oklch(26.4% 0.101 266.2);
Tailwind
colors: {
  custom: {
    50: '#5a5a85',
    500: '#0e1f55',
    950: '#000000',
  },
}
SCSS
$custom: #0e1f55;
$custom-light: #5a5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1f55",
  "rgb": {
    "r": 14,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 225.634,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26438,
    "c": 0.10064,
    "h": 266.2
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#0E1F55
secondary
#8F7830
accent
#C339EE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0E1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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