#0E2D5C#0E2D5C

#0E2D5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.092 H 258.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#0E2D5C
RGBrgb(14, 45, 92)
HSLhsl(216, 74%, 21%)
HSVhsv(216, 85%, 36%)
CMYKcmyk(84.8%, 51.1%, 0%, 63.9%)
CIE-LABlab(18.98, 8.11, -31.38)
CIE-LCHlch(18.98, 32.41, 284.50°)
OKLaboklab(30.41% -0.0177 -0.0901)
OKLCHoklch(30.41% 0.092 258.9)
XYZxyz(3.0505, 2.7425, 10.4917)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2D5C #5C3D0E
analogous
#0E545C #0E2D5C #160E5C
triadic
#0E2D5C #5C0E2D #2D5C0E
tetradic
#0E2D5C #5C0E54 #5C3D0E #0E5C16
square
#0E2D5C #5C0E54 #5C3D0E #0E5C16
split-complementary
#0E2D5C #5C160E #545C0E
monochromatic
#040D1B #061327 #0E2D5C #164791 #1E61C6

Accessibility & contrast

On white

13.56
#0E2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2D5C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2D5C#FFFFFF#000000##FFFFFF
##0E2D5C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0e2d5c;
/* rgb */ color: rgb(14, 45, 92);
/* oklch */ color: oklch(30.4% 0.092 258.9);
Tailwind
colors: {
  custom: {
    50: '#5b658a',
    500: '#0e2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #0e2d5c;
$custom-light: #5b658a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2d5c",
  "rgb": {
    "r": 14,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 216.154,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30408,
    "c": 0.09188,
    "h": 258.9
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#0E2D5C
secondary
#966D30
accent
#A738F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #0E2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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