#0E2856#0E2856

#0E2856 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.089 H 260.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0E2856
RGBrgb(14, 40, 86)
HSLhsl(218, 72%, 20%)
HSVhsv(218, 84%, 34%)
CMYKcmyk(83.7%, 53.5%, 0%, 66.3%)
CIE-LABlab(16.91, 9.19, -30.73)
CIE-LCHlch(16.91, 32.07, 286.65°)
OKLaboklab(28.67% -0.0143 -0.0883)
OKLCHoklch(28.67% 0.089 260.8)
XYZxyz(2.6190, 2.2825, 9.1048)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2856 #563C0E
analogous
#0E4C56 #0E2856 #180E56
triadic
#0E2856 #560E28 #28560E
tetradic
#0E2856 #560E4C #563C0E #0E5618
square
#0E2856 #560E4C #563C0E #0E5618
split-complementary
#0E2856 #56180E #4C560E
monochromatic
#040C1A #051021 #0E2856 #17408B #1F59BF

Accessibility & contrast

On white

14.42
#0E2856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E2856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2856
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2856#FFFFFF#000000##FFFFFF
##0E28561.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2856;
/* rgb */ color: rgb(14, 40, 86);
/* oklch */ color: oklch(28.7% 0.089 260.8);
Tailwind
colors: {
  custom: {
    50: '#596186',
    500: '#0e2856',
    950: '#000000',
  },
}
SCSS
$custom: #0e2856;
$custom-light: #596186;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2856",
  "rgb": {
    "r": 14,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 218.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28669,
    "c": 0.08948,
    "h": 260.8
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#0E2856
secondary
#906D30
accent
#AD39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2856

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

Preview Lab → · Contrast checker → · Palette generator →

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