#0E2758#0E2758

#0E2758 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.094 H 262.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#0E2758
RGBrgb(14, 39, 88)
HSLhsl(220, 73%, 20%)
HSVhsv(220, 84%, 35%)
CMYKcmyk(84.1%, 55.7%, 0%, 65.5%)
CIE-LABlab(16.74, 10.82, -32.33)
CIE-LCHlch(16.74, 34.09, 288.50°)
OKLaboklab(28.59% -0.0131 -0.0931)
OKLCHoklch(28.59% 0.094 262)
XYZxyz(2.6674, 2.2487, 9.5241)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2758 #583F0E
analogous
#0E4C58 #0E2758 #1A0E58
triadic
#0E2758 #580E27 #27580E
tetradic
#0E2758 #580E4C #583F0E #0E581A
square
#0E2758 #580E4C #583F0E #0E581A
split-complementary
#0E2758 #581A0E #4C580E
monochromatic
#040C1A #061023 #0E2758 #163E8D #1F56C2

Accessibility & contrast

On white

14.48
#0E2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E2758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2758
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2758#FFFFFF#000000##FFFFFF
##0E27581.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e2758;
/* rgb */ color: rgb(14, 39, 88);
/* oklch */ color: oklch(28.6% 0.094 262.0);
Tailwind
colors: {
  custom: {
    50: '#5a6087',
    500: '#0e2758',
    950: '#000000',
  },
}
SCSS
$custom: #0e2758;
$custom-light: #5a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2758",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 219.73,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.28594,
    "c": 0.09399,
    "h": 262
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#0E2758
secondary
#927130
accent
#B239EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2758

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

Preview Lab → · Contrast checker → · Palette generator →

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