#0E2A57#0E2A57

#0E2A57 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.088 H 259.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#0E2A57
RGBrgb(14, 42, 87)
HSLhsl(217, 72%, 20%)
HSVhsv(217, 84%, 34%)
CMYKcmyk(83.9%, 51.7%, 0%, 65.9%)
CIE-LABlab(17.63, 8.14, -30.22)
CIE-LCHlch(17.63, 31.30, 285.07°)
OKLaboklab(29.25% -0.0159 -0.0868)
OKLCHoklch(29.25% 0.088 259.6)
XYZxyz(2.7287, 2.4371, 9.3416)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A57 #573B0E
analogous
#0E4F57 #0E2A57 #160E57
triadic
#0E2A57 #570E2A #2A570E
tetradic
#0E2A57 #570E4F #573B0E #0E5716
square
#0E2A57 #570E4F #573B0E #0E5716
split-complementary
#0E2A57 #57160E #4F570E
monochromatic
#040D1A #061122 #0E2A57 #16438C #1F5DC0

Accessibility & contrast

On white

14.12
#0E2A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0E2A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A57
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A57#FFFFFF#000000##FFFFFF
##0E2A571.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2a57;
/* rgb */ color: rgb(14, 42, 87);
/* oklch */ color: oklch(29.3% 0.088 259.6);
Tailwind
colors: {
  custom: {
    50: '#5a6387',
    500: '#0e2a57',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a57;
$custom-light: #5a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a57",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 216.986,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2925,
    "c": 0.08827,
    "h": 259.6
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#0E2A57
secondary
#916C30
accent
#A939EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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