#0E2A5D#0E2A5D

#0E2A5D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.098 H 261.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5D
RGBrgb(14, 42, 93)
HSLhsl(219, 74%, 21%)
HSVhsv(219, 85%, 36%)
CMYKcmyk(84.9%, 54.8%, 0%, 63.5%)
CIE-LABlab(18.10, 10.77, -33.47)
CIE-LCHlch(18.10, 35.16, 287.84°)
OKLaboklab(29.75% -0.015 -0.0964)
OKLCHoklch(29.75% 0.098 261.2)
XYZxyz(2.9841, 2.5393, 10.6867)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5D #5D410E
analogous
#0E515D #0E2A5D #190E5D
triadic
#0E2A5D #5D0E2A #2A5D0E
tetradic
#0E2A5D #5D0E51 #5D410E #0E5D19
square
#0E2A5D #5D0E51 #5D410E #0E5D19
split-complementary
#0E2A5D #5D190E #515D0E
monochromatic
#040C1B #061228 #0E2A5D #164292 #1E5AC7

Accessibility & contrast

On white

13.93
#0E2A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2A5D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5D#FFFFFF#000000##FFFFFF
##0E2A5D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2a5d;
/* rgb */ color: rgb(14, 42, 93);
/* oklch */ color: oklch(29.8% 0.098 261.2);
Tailwind
colors: {
  custom: {
    50: '#5b638b',
    500: '#0e2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5d;
$custom-light: #5b638b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5d",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 218.734,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29753,
    "c": 0.09753,
    "h": 261.2
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#0E2A5D
secondary
#977230
accent
#AF37F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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