#0E2557#0E2557

#0E2557 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.095 H 263.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#0E2557
RGBrgb(14, 37, 87)
HSLhsl(221, 72%, 20%)
HSVhsv(221, 84%, 34%)
CMYKcmyk(83.9%, 57.5%, 0%, 65.9%)
CIE-LABlab(16.03, 11.88, -32.82)
CIE-LCHlch(16.03, 34.90, 289.91°)
OKLaboklab(28.02% -0.0115 -0.0946)
OKLCHoklch(28.02% 0.095 263.1)
XYZxyz(2.5624, 2.1043, 9.2861)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2557 #57400E
analogous
#0E4A57 #0E2557 #1C0E57
triadic
#0E2557 #570E25 #25570E
tetradic
#0E2557 #570E4A #57400E #0E571C
square
#0E2557 #570E4A #57400E #0E571C
split-complementary
#0E2557 #571C0E #4A570E
monochromatic
#040B1A #060F22 #0E2557 #163B8C #1F52C0

Accessibility & contrast

On white

14.78
#0E2557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0E2557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2557
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2557#FFFFFF#000000##FFFFFF
##0E25571.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B59
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2557;
/* rgb */ color: rgb(14, 37, 87);
/* oklch */ color: oklch(28.0% 0.095 263.1);
Tailwind
colors: {
  custom: {
    50: '#5a5f87',
    500: '#0e2557',
    950: '#000000',
  },
}
SCSS
$custom: #0e2557;
$custom-light: #5a5f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2557",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 221.096,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28023,
    "c": 0.09526,
    "h": 263.1
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#0E2557
secondary
#917230
accent
#B639EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2557

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

Preview Lab → · Contrast checker → · Palette generator →

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