#0E2540#0E2540

#0E2540 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.059 H 254.0°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#0E2540
RGBrgb(14, 37, 64)
HSLhsl(212, 64%, 15%)
HSVhsv(212, 78%, 25%)
CMYKcmyk(78.1%, 42.2%, 0%, 74.9%)
CIE-LABlab(14.32, 1.76, -19.82)
CIE-LCHlch(14.32, 19.89, 275.09°)
OKLaboklab(26.17% -0.0161 -0.0563)
OKLCHoklch(26.17% 0.059 254)
XYZxyz(1.7677, 1.7865, 5.1012)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2540 #40290E
analogous
#0E3E40 #0E2540 #100E40
triadic
#0E2540 #400E25 #25400E
tetradic
#0E2540 #400E3E #40290E #0E4010
square
#0E2540 #400E3E #40290E #0E4010
split-complementary
#0E2540 #40100E #3E400E
monochromatic
#050F19 #050F19 #0E2540 #194272 #245FA4

Accessibility & contrast

On white

15.47
#0E2540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2540
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2540#FFFFFF#000000##FFFFFF
##0E25401.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192741
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2540;
/* rgb */ color: rgb(14, 37, 64);
/* oklch */ color: oklch(26.2% 0.059 254.0);
Tailwind
colors: {
  custom: {
    50: '#545f75',
    500: '#0e2540',
    950: '#000000',
  },
}
SCSS
$custom: #0e2540;
$custom-light: #545f75;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2540",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 212.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26168,
    "c": 0.05862,
    "h": 254
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#0E2540
secondary
#7B582F
accent
#9B41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0E2540

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

Preview Lab → · Contrast checker → · Palette generator →

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