#0E2C58#0E2C58

#0E2C58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.087 H 258.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#0E2C58
RGBrgb(14, 44, 88)
HSLhsl(216, 73%, 20%)
HSVhsv(216, 84%, 35%)
CMYKcmyk(84.1%, 50%, 0%, 65.5%)
CIE-LABlab(18.36, 7.10, -29.72)
CIE-LCHlch(18.36, 30.55, 283.43°)
OKLaboklab(29.84% -0.0176 -0.0853)
OKLCHoklch(29.84% 0.087 258.3)
XYZxyz(2.8426, 2.5990, 9.5825)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2C58 #583A0E
analogous
#0E5158 #0E2C58 #150E58
triadic
#0E2C58 #580E2C #2C580E
tetradic
#0E2C58 #580E51 #583A0E #0E5815
square
#0E2C58 #580E51 #583A0E #0E5815
split-complementary
#0E2C58 #58150E #51580E
monochromatic
#040D1A #061223 #0E2C58 #16468D #1F61C2

Accessibility & contrast

On white

13.82
#0E2C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0E2C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2C58
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2C58#FFFFFF#000000##FFFFFF
##0E2C581.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#032A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0e2c58;
/* rgb */ color: rgb(14, 44, 88);
/* oklch */ color: oklch(29.8% 0.087 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a6487',
    500: '#0e2c58',
    950: '#000000',
  },
}
SCSS
$custom: #0e2c58;
$custom-light: #5a6487;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2c58",
  "rgb": {
    "r": 14,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 215.676,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.08709,
    "h": 258.3
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#0E2C58
secondary
#926A30
accent
#A539EF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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