#0E1740#0E1740

#0E1740 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.079 H 269.6°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#0E1740
RGBrgb(14, 23, 64)
HSLhsl(229, 64%, 15%)
HSVhsv(229, 78%, 25%)
CMYKcmyk(78.1%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.61, 12.54, -27.38)
CIE-LCHlch(9.61, 30.12, 294.61°)
OKLaboklab(22.56% -0.0005 -0.0788)
OKLCHoklch(22.56% 0.079 269.6)
XYZxyz(1.4126, 1.0762, 4.9828)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1740 #40370E
analogous
#0E3040 #0E1740 #1E0E40
triadic
#0E1740 #400E17 #17400E
tetradic
#0E1740 #400E30 #40370E #0E401E
square
#0E1740 #400E30 #40370E #0E401E
split-complementary
#0E1740 #401E0E #30400E
monochromatic
#050919 #050919 #0E1740 #192972 #243BA4

Accessibility & contrast

On white

17.28
#0E1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0E1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1740
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1740#FFFFFF#000000##FFFFFF
##0E17401.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0e1740;
/* rgb */ color: rgb(14, 23, 64);
/* oklch */ color: oklch(22.6% 0.079 269.6);
Tailwind
colors: {
  custom: {
    50: '#545375',
    500: '#0e1740',
    950: '#000000',
  },
}
SCSS
$custom: #0e1740;
$custom-light: #545375;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1740",
  "rgb": {
    "r": 14,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 229.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22555,
    "c": 0.07884,
    "h": 269.6
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#0E1740
secondary
#7B6D2F
accent
#C941E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1740

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

Preview Lab → · Contrast checker → · Palette generator →

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