#0E2058#0E2058

#0E2058 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.104 H 265.9°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#0E2058
RGBrgb(14, 32, 88)
HSLhsl(225, 73%, 20%)
HSVhsv(225, 84%, 35%)
CMYKcmyk(84.1%, 63.6%, 0%, 65.5%)
CIE-LABlab(14.57, 16.09, -35.85)
CIE-LCHlch(14.57, 39.30, 294.17°)
OKLaboklab(26.96% -0.0074 -0.1036)
OKLCHoklch(26.96% 0.104 265.9)
XYZxyz(2.4584, 1.8307, 9.4544)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2058 #58460E
analogous
#0E4558 #0E2058 #210E58
triadic
#0E2058 #580E20 #20580E
tetradic
#0E2058 #580E45 #58460E #0E5821
square
#0E2058 #580E45 #58460E #0E5821
split-complementary
#0E2058 #58210E #45580E
monochromatic
#040A1A #060D23 #0E2058 #16338D #1F46C2

Accessibility & contrast

On white

15.37
#0E2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0E2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2058
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2058#FFFFFF#000000##FFFFFF
##0E20581.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0e2058;
/* rgb */ color: rgb(14, 32, 88);
/* oklch */ color: oklch(27.0% 0.104 265.9);
Tailwind
colors: {
  custom: {
    50: '#5b5b88',
    500: '#0e2058',
    950: '#000000',
  },
}
SCSS
$custom: #0e2058;
$custom-light: #5b5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2058",
  "rgb": {
    "r": 14,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 225.405,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.26956,
    "c": 0.10384,
    "h": 265.9
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#0E2058
secondary
#927A30
accent
#C339EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2058

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

Preview Lab → · Contrast checker → · Palette generator →

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