#0E163F#0E163F

#0E163F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.079 H 270.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0E163F
RGBrgb(14, 22, 63)
HSLhsl(230, 64%, 15%)
HSVhsv(230, 78%, 25%)
CMYKcmyk(77.8%, 65.1%, 0%, 75.3%)
CIE-LABlab(9.21, 12.89, -27.33)
CIE-LCHlch(9.21, 30.22, 295.25°)
OKLaboklab(22.22% 0.0005 -0.0787)
OKLCHoklch(22.22% 0.079 270.3)
XYZxyz(1.3649, 1.0259, 4.8278)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E163F #3F370E
analogous
#0E2E3F #0E163F #1E0E3F
triadic
#0E163F #3F0E16 #163F0E
tetradic
#0E163F #3F0E2E #3F370E #0E3F1E
square
#0E163F #3F0E2E #3F370E #0E3F1E
split-complementary
#0E163F #3F1E0E #2E3F0E
monochromatic
#060919 #060919 #0E163F #192771 #2439A3

Accessibility & contrast

On white

17.42
#0E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0E163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E163F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E163F#FFFFFF#000000##FFFFFF
##0E163F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0e163f;
/* rgb */ color: rgb(14, 22, 63);
/* oklch */ color: oklch(22.2% 0.079 270.3);
Tailwind
colors: {
  custom: {
    50: '#545274',
    500: '#0e163f',
    950: '#000000',
  },
}
SCSS
$custom: #0e163f;
$custom-light: #545274;
$custom-dark: #000000;
JSON
{
  "hex": "#0e163f",
  "rgb": {
    "r": 14,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 230.204,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22224,
    "c": 0.0787,
    "h": 270.3
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#0E163F
secondary
#7A6E2F
accent
#CC41E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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