#0E2A5B#0E2A5B

#0E2A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.094 H 260.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5B
RGBrgb(14, 42, 91)
HSLhsl(218, 73%, 21%)
HSVhsv(218, 85%, 36%)
CMYKcmyk(84.6%, 53.8%, 0%, 64.3%)
CIE-LABlab(17.94, 9.90, -32.40)
CIE-LCHlch(17.94, 33.87, 286.98°)
OKLaboklab(29.58% -0.0153 -0.0932)
OKLCHoklch(29.58% 0.094 260.7)
XYZxyz(2.8967, 2.5043, 10.2262)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5B #5B3F0E
analogous
#0E505B #0E2A5B #190E5B
triadic
#0E2A5B #5B0E2A #2A5B0E
tetradic
#0E2A5B #5B0E50 #5B3F0E #0E5B19
square
#0E2A5B #5B0E50 #5B3F0E #0E5B19
split-complementary
#0E2A5B #5B190E #505B0E
monochromatic
#040C1B #061226 #0E2A5B #164290 #1E5BC5

Accessibility & contrast

On white

13.99
#0E2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2A5B
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5B#FFFFFF#000000##FFFFFF
##0E2A5B1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2a5b;
/* rgb */ color: rgb(14, 42, 91);
/* oklch */ color: oklch(29.6% 0.094 260.7);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0e2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5b;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5b",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 218.182,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29583,
    "c": 0.09446,
    "h": 260.7
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#0E2A5B
secondary
#957030
accent
#AD38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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