#0E2D5B#0E2D5B

#0E2D5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.090 H 258.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#0E2D5B
RGBrgb(14, 45, 91)
HSLhsl(216, 73%, 21%)
HSVhsv(216, 85%, 36%)
CMYKcmyk(84.6%, 50.5%, 0%, 64.3%)
CIE-LABlab(18.91, 7.68, -30.83)
CIE-LCHlch(18.91, 31.78, 283.98°)
OKLaboklab(30.33% -0.0179 -0.0885)
OKLCHoklch(30.33% 0.09 258.5)
XYZxyz(3.0071, 2.7251, 10.2630)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2D5B #5B3C0E
analogous
#0E535B #0E2D5B #150E5B
triadic
#0E2D5B #5B0E2D #2D5B0E
tetradic
#0E2D5B #5B0E53 #5B3C0E #0E5B15
square
#0E2D5B #5B0E53 #5B3C0E #0E5B15
split-complementary
#0E2D5B #5B150E #535B0E
monochromatic
#040D1B #061326 #0E2D5B #164790 #1E61C5

Accessibility & contrast

On white

13.59
#0E2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0E2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2D5B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2D5B#FFFFFF#000000##FFFFFF
##0E2D5B1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0e2d5b;
/* rgb */ color: rgb(14, 45, 91);
/* oklch */ color: oklch(30.3% 0.090 258.5);
Tailwind
colors: {
  custom: {
    50: '#5a658a',
    500: '#0e2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #0e2d5b;
$custom-light: #5a658a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2d5b",
  "rgb": {
    "r": 14,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 215.844,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.09035,
    "h": 258.5
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#0E2D5B
secondary
#956C30
accent
#A638F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0E2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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