#0E2A5E#0E2A5E

#0E2A5E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.099 H 261.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5E
RGBrgb(14, 42, 94)
HSLhsl(219, 74%, 21%)
HSVhsv(219, 85%, 37%)
CMYKcmyk(85.1%, 55.3%, 0%, 63.1%)
CIE-LABlab(18.17, 11.21, -34.00)
CIE-LCHlch(18.17, 35.80, 288.25°)
OKLaboklab(29.84% -0.0148 -0.0979)
OKLCHoklch(29.84% 0.099 261.4)
XYZxyz(3.0287, 2.5571, 10.9214)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5E #5E420E
analogous
#0E525E #0E2A5E #1A0E5E
triadic
#0E2A5E #5E0E2A #2A5E0E
tetradic
#0E2A5E #5E0E52 #5E420E #0E5E1A
square
#0E2A5E #5E0E52 #5E420E #0E5E1A
split-complementary
#0E2A5E #5E1A0E #525E0E
monochromatic
#040C1B #061229 #0E2A5E #164293 #1E5AC9

Accessibility & contrast

On white

13.89
#0E2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0E2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A5E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5E#FFFFFF#000000##FFFFFF
##0E2A5E1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2a5e;
/* rgb */ color: rgb(14, 42, 94);
/* oklch */ color: oklch(29.8% 0.099 261.4);
Tailwind
colors: {
  custom: {
    50: '#5b638c',
    500: '#0e2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5e;
$custom-light: #5b638c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5e",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 219,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29839,
    "c": 0.09906,
    "h": 261.4
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#0E2A5E
secondary
#987330
accent
#B037F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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