#0E2757#0E2757

#0E2757 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.092 H 261.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#0E2757
RGBrgb(14, 39, 87)
HSLhsl(219, 72%, 20%)
HSVhsv(219, 84%, 34%)
CMYKcmyk(83.9%, 55.2%, 0%, 65.9%)
CIE-LABlab(16.66, 10.38, -31.79)
CIE-LCHlch(16.66, 33.44, 288.08°)
OKLaboklab(28.51% -0.0132 -0.0915)
OKLCHoklch(28.51% 0.092 261.8)
XYZxyz(2.6263, 2.2322, 9.3074)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2757 #573E0E
analogous
#0E4C57 #0E2757 #1A0E57
triadic
#0E2757 #570E27 #27570E
tetradic
#0E2757 #570E4C #573E0E #0E571A
square
#0E2757 #570E4C #573E0E #0E571A
split-complementary
#0E2757 #571A0E #4C570E
monochromatic
#040C1A #060F22 #0E2757 #163F8C #1F56C0

Accessibility & contrast

On white

14.52
#0E2757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E2757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2757
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2757#FFFFFF#000000##FFFFFF
##0E27571.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082D59
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2757;
/* rgb */ color: rgb(14, 39, 87);
/* oklch */ color: oklch(28.5% 0.092 261.8);
Tailwind
colors: {
  custom: {
    50: '#5a6087',
    500: '#0e2757',
    950: '#000000',
  },
}
SCSS
$custom: #0e2757;
$custom-light: #5a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2757",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 219.452,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.09244,
    "h": 261.8
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#0E2757
secondary
#917030
accent
#B139EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2757

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

Preview Lab → · Contrast checker → · Palette generator →

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