#0E2057#0E2057

#0E2057 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.102 H 265.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#0E2057
RGBrgb(14, 32, 87)
HSLhsl(225, 72%, 20%)
HSVhsv(225, 84%, 34%)
CMYKcmyk(83.9%, 63.2%, 0%, 65.9%)
CIE-LABlab(14.48, 15.66, -35.33)
CIE-LCHlch(14.48, 38.64, 293.90°)
OKLaboklab(26.86% -0.0074 -0.102)
OKLCHoklch(26.86% 0.102 265.8)
XYZxyz(2.4173, 1.8142, 9.2378)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2057 #57450E
analogous
#0E4557 #0E2057 #200E57
triadic
#0E2057 #570E20 #20570E
tetradic
#0E2057 #570E45 #57450E #0E5720
square
#0E2057 #570E45 #57450E #0E5720
split-complementary
#0E2057 #57200E #45570E
monochromatic
#040A1A #060D22 #0E2057 #16338C #1F47C0

Accessibility & contrast

On white

15.41
#0E2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0E2057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2057
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2057#FFFFFF#000000##FFFFFF
##0E20571.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2057;
/* rgb */ color: rgb(14, 32, 87);
/* oklch */ color: oklch(26.9% 0.102 265.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b87',
    500: '#0e2057',
    950: '#000000',
  },
}
SCSS
$custom: #0e2057;
$custom-light: #5a5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2057",
  "rgb": {
    "r": 14,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 225.205,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.10231,
    "h": 265.8
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#0E2057
secondary
#917930
accent
#C239EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2057

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

Preview Lab → · Contrast checker → · Palette generator →

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