#0E1B5D#0E1B5D

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

Color values

HEX#0E1B5D
RGBrgb(14, 27, 93)
HSLhsl(230, 74%, 21%)
HSVhsv(230, 85%, 36%)
CMYKcmyk(84.9%, 71%, 0%, 63.5%)
CIE-LABlab(13.63, 21.91, -40.74)
CIE-LCHlch(13.63, 46.26, 298.27°)
OKLaboklab(26.41% -0.0041 -0.118)
OKLCHoklch(26.41% 0.118 268)
XYZxyz(2.5481, 1.6672, 10.5413)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1B5D #5D500E
analogous
#0E425D #0E1B5D #280E5D
triadic
#0E1B5D #5D0E1B #1B5D0E
tetradic
#0E1B5D #5D0E42 #5D500E #0E5D28
square
#0E1B5D #5D0E42 #5D500E #0E5D28
split-complementary
#0E1B5D #5D280E #425D0E
monochromatic
#04081B #060C28 #0E1B5D #162A92 #1E3AC7

Accessibility & contrast

On white

15.75
#0E1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0E1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1B5D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1B5D#FFFFFF#000000##FFFFFF
##0E1B5D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0e1b5d;
/* rgb */ color: rgb(14, 27, 93);
/* oklch */ color: oklch(26.4% 0.118 268.0);
Tailwind
colors: {
  custom: {
    50: '#5d578c',
    500: '#0e1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #0e1b5d;
$custom-light: #5d578c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1b5d",
  "rgb": {
    "r": 14,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 230.127,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26414,
    "c": 0.11803,
    "h": 268
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#0E1B5D
secondary
#978630
accent
#D237F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #0E1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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