#0E2A5F#0E2A5F

#0E2A5F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.101 H 261.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5F
RGBrgb(14, 42, 95)
HSLhsl(219, 74%, 21%)
HSVhsv(219, 85%, 37%)
CMYKcmyk(85.3%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.25, 11.65, -34.54)
CIE-LCHlch(18.25, 36.45, 288.64°)
OKLaboklab(29.93% -0.0147 -0.0995)
OKLCHoklch(29.93% 0.101 261.6)
XYZxyz(3.0739, 2.5751, 11.1593)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5F #5F430E
analogous
#0E535F #0E2A5F #1B0E5F
triadic
#0E2A5F #5F0E2A #2A5F0E
tetradic
#0E2A5F #5F0E53 #5F430E #0E5F1B
square
#0E2A5F #5F0E53 #5F430E #0E5F1B
split-complementary
#0E2A5F #5F1B0E #535F0E
monochromatic
#040C1B #06122A #0E2A5F #164294 #1E59CA

Accessibility & contrast

On white

13.86
#0E2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0E2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A5F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5F#FFFFFF#000000##FFFFFF
##0E2A5F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0e2a5f;
/* rgb */ color: rgb(14, 42, 95);
/* oklch */ color: oklch(29.9% 0.101 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c628d',
    500: '#0e2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5f;
$custom-light: #5c628d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5f",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 219.259,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29926,
    "c": 0.10059,
    "h": 261.6
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#0E2A5F
secondary
#997530
accent
#B137F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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