#1E538F#1E538F

#1E538F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.113 H 254.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1E538F
RGBrgb(30, 83, 143)
HSLhsl(212, 65%, 34%)
HSVhsv(212, 79%, 56%)
CMYKcmyk(79%, 42%, 0%, 43.9%)
CIE-LABlab(34.89, 4.97, -38.15)
CIE-LCHlch(34.89, 38.47, 277.43°)
OKLaboklab(43.98% -0.0312 -0.1091)
OKLCHoklch(43.98% 0.113 254.1)
XYZxyz(8.5848, 8.4447, 27.1588)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E538F #8F5A1E
analogous
#1E8C8F #1E538F #211E8F
triadic
#1E538F #8F1E53 #538F1E
tetradic
#1E538F #8F1E8C #8F5A1E #1E8F21
square
#1E538F #8F1E8C #8F5A1E #1E8F21
split-complementary
#1E538F #8F211E #8C8F1E
monochromatic
#09182A #13365C #1E538F #2970C2 #4E8FDA

Accessibility & contrast

On white

7.81
#1E538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1E538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E538F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E538F#FFFFFF#000000##FFFFFF
##1E538F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e538f;
/* rgb */ color: rgb(30, 83, 143);
/* oklch */ color: oklch(44.0% 0.113 254.1);
Tailwind
colors: {
  custom: {
    50: '#6c82b0',
    500: '#1e538f',
    950: '#000000',
  },
}
SCSS
$custom: #1e538f;
$custom-light: #6c82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e538f",
  "rgb": {
    "r": 30,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 211.858,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.11342,
    "h": 254.1
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#1E538F
secondary
#BC884C
accent
#9940E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E538F

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

Preview Lab → · Contrast checker → · Palette generator →

#1E538F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva