#0E2657#0E2657

#0E2657 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.094 H 262.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#0E2657
RGBrgb(14, 38, 87)
HSLhsl(220, 72%, 20%)
HSVhsv(220, 84%, 34%)
CMYKcmyk(83.9%, 56.3%, 0%, 65.9%)
CIE-LABlab(16.34, 11.13, -32.31)
CIE-LCHlch(16.34, 34.17, 289.01°)
OKLaboklab(28.26% -0.0123 -0.093)
OKLCHoklch(28.26% 0.094 262.5)
XYZxyz(2.5939, 2.1674, 9.2966)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2657 #573F0E
analogous
#0E4B57 #0E2657 #1B0E57
triadic
#0E2657 #570E26 #26570E
tetradic
#0E2657 #570E4B #573F0E #0E571B
square
#0E2657 #570E4B #573F0E #0E571B
split-complementary
#0E2657 #571B0E #4B570E
monochromatic
#040C1A #060F22 #0E2657 #163D8C #1F54C0

Accessibility & contrast

On white

14.65
#0E2657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E2657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2657
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2657#FFFFFF#000000##FFFFFF
##0E26571.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C59
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e2657;
/* rgb */ color: rgb(14, 38, 87);
/* oklch */ color: oklch(28.3% 0.094 262.5);
Tailwind
colors: {
  custom: {
    50: '#5a5f87',
    500: '#0e2657',
    950: '#000000',
  },
}
SCSS
$custom: #0e2657;
$custom-light: #5a5f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2657",
  "rgb": {
    "r": 14,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 220.274,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.09385,
    "h": 262.5
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#0E2657
secondary
#917130
accent
#B339EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2657

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

Preview Lab → · Contrast checker → · Palette generator →

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