#0E2851#0E2851

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

Color values

HEX#0E2851
RGBrgb(14, 40, 81)
HSLhsl(217, 71%, 19%)
HSVhsv(217, 83%, 32%)
CMYKcmyk(82.7%, 50.6%, 0%, 68.2%)
CIE-LABlab(16.53, 6.98, -27.97)
CIE-LCHlch(16.53, 28.83, 284.02°)
OKLaboklab(28.26% -0.0152 -0.0802)
OKLCHoklch(28.26% 0.082 259.3)
XYZxyz(2.4246, 2.2048, 8.0808)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2851 #51370E
analogous
#0E4951 #0E2851 #150E51
triadic
#0E2851 #510E28 #28510E
tetradic
#0E2851 #510E49 #51370E #0E5115
square
#0E2851 #510E49 #51370E #0E5115
split-complementary
#0E2851 #51150E #49510E
monochromatic
#050D1A #050E1D #0E2851 #174285 #205CB9

Accessibility & contrast

On white

14.57
#0E2851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0E2851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2851
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2851#FFFFFF#000000##FFFFFF
##0E28511.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C53
Deuteranopia (green-blind)
#042650
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2851;
/* rgb */ color: rgb(14, 40, 81);
/* oklch */ color: oklch(28.3% 0.082 259.3);
Tailwind
colors: {
  custom: {
    50: '#586182',
    500: '#0e2851',
    950: '#000000',
  },
}
SCSS
$custom: #0e2851;
$custom-light: #586182;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2851",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 216.716,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28257,
    "c": 0.08164,
    "h": 259.3
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#0E2851
secondary
#8C682F
accent
#A83AED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0E2851

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

Preview Lab → · Contrast checker → · Palette generator →

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