#1E5795#1E5795

#1E5795 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.117 H 253.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1E5795
RGBrgb(30, 87, 149)
HSLhsl(211, 66%, 35%)
HSVhsv(211, 80%, 58%)
CMYKcmyk(79.9%, 41.6%, 0%, 41.6%)
CIE-LABlab(36.48, 4.73, -39.25)
CIE-LCHlch(36.48, 39.54, 276.87°)
OKLaboklab(45.33% -0.0334 -0.1122)
OKLCHoklch(45.33% 0.117 253.4)
XYZxyz(9.3664, 9.2612, 29.7219)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5795 #955C1E
analogous
#1E9295 #1E5795 #211E95
triadic
#1E5795 #951E57 #57951E
tetradic
#1E5795 #951E92 #955C1E #1E9521
square
#1E5795 #951E92 #955C1E #1E9521
split-complementary
#1E5795 #95211E #92951E
monochromatic
#091C2F #143962 #1E5795 #2875C8 #5194DC

Accessibility & contrast

On white

7.36
#1E5795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1E5795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5795
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5795#FFFFFF#000000##FFFFFF
##1E57951.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C97
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1e5795;
/* rgb */ color: rgb(30, 87, 149);
/* oklch */ color: oklch(45.3% 0.117 253.4);
Tailwind
colors: {
  custom: {
    50: '#6d85b4',
    500: '#1e5795',
    950: '#000000',
  },
}
SCSS
$custom: #1e5795;
$custom-light: #6d85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5795",
  "rgb": {
    "r": 30,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 211.261,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.11707,
    "h": 253.4
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#1E5795
secondary
#BF8A50
accent
#973EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1E5795

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

Preview Lab → · Contrast checker → · Palette generator →

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