#0E2A5A#0E2A5A

#0E2A5A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.093 H 260.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5A
RGBrgb(14, 42, 90)
HSLhsl(218, 73%, 20%)
HSVhsv(218, 84%, 35%)
CMYKcmyk(84.4%, 53.3%, 0%, 64.7%)
CIE-LABlab(17.86, 9.46, -31.86)
CIE-LCHlch(17.86, 33.23, 286.54°)
OKLaboklab(29.5% -0.0154 -0.0916)
OKLCHoklch(29.5% 0.093 260.5)
XYZxyz(2.8539, 2.4871, 10.0005)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5A #5A3E0E
analogous
#0E505A #0E2A5A #180E5A
triadic
#0E2A5A #5A0E2A #2A5A0E
tetradic
#0E2A5A #5A0E50 #5A3E0E #0E5A18
square
#0E2A5A #5A0E50 #5A3E0E #0E5A18
split-complementary
#0E2A5A #5A180E #505A0E
monochromatic
#040C1A #061125 #0E2A5A #16438F #1E5BC4

Accessibility & contrast

On white

14.02
#0E2A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0E2A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A5A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5A#FFFFFF#000000##FFFFFF
##0E2A5A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2a5a;
/* rgb */ color: rgb(14, 42, 90);
/* oklch */ color: oklch(29.5% 0.093 260.5);
Tailwind
colors: {
  custom: {
    50: '#5a6389',
    500: '#0e2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5a;
$custom-light: #5a6389;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5a",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 217.895,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29499,
    "c": 0.09292,
    "h": 260.5
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#0E2A5A
secondary
#946F30
accent
#AC38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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