#0E2D5A#0E2D5A

#0E2D5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.089 H 258.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#0E2D5A
RGBrgb(14, 45, 90)
HSLhsl(216, 73%, 20%)
HSVhsv(216, 84%, 35%)
CMYKcmyk(84.4%, 50%, 0%, 64.7%)
CIE-LABlab(18.83, 7.24, -30.29)
CIE-LCHlch(18.83, 31.14, 283.44°)
OKLaboklab(30.25% -0.0181 -0.0869)
OKLCHoklch(30.25% 0.089 258.2)
XYZxyz(2.9643, 2.7080, 10.0373)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2D5A #5A3B0E
analogous
#0E535A #0E2D5A #150E5A
triadic
#0E2D5A #5A0E2D #2D5A0E
tetradic
#0E2D5A #5A0E53 #5A3B0E #0E5A15
square
#0E2D5A #5A0E53 #5A3B0E #0E5A15
split-complementary
#0E2D5A #5A150E #535A0E
monochromatic
#040D1A #061325 #0E2D5A #16478F #1E62C4

Accessibility & contrast

On white

13.62
#0E2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0E2D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2D5A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2D5A#FFFFFF#000000##FFFFFF
##0E2D5A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315C
Deuteranopia (green-blind)
#032B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0e2d5a;
/* rgb */ color: rgb(14, 45, 90);
/* oklch */ color: oklch(30.2% 0.089 258.2);
Tailwind
colors: {
  custom: {
    50: '#5a6589',
    500: '#0e2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #0e2d5a;
$custom-light: #5a6589;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2d5a",
  "rgb": {
    "r": 14,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 215.526,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.08881,
    "h": 258.2
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#0E2D5A
secondary
#946B30
accent
#A538F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0E2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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