#1E5F8B#1E5F8B

#1E5F8B is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.096 H 242.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1E5F8B
RGBrgb(30, 95, 139)
HSLhsl(204, 64%, 33%)
HSVhsv(204, 78%, 55%)
CMYKcmyk(78.4%, 31.7%, 0%, 45.5%)
CIE-LABlab(38.42, -4.27, -30.14)
CIE-LCHlch(38.42, 30.44, 261.94°)
OKLaboklab(46.67% -0.0438 -0.0854)
OKLCHoklch(46.67% 0.096 242.8)
XYZxyz(9.2860, 10.3234, 25.9243)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5F8B #8B4A1E
analogous
#1E8B80 #1E5F8B #1E298B
triadic
#1E5F8B #8B1E5F #5F8B1E
tetradic
#1E5F8B #801E8B #8B4A1E #298B1E
square
#1E5F8B #801E8B #8B4A1E #298B1E
split-complementary
#1E5F8B #8B1E29 #8B801E
monochromatic
#081A26 #133D59 #1E5F8B #2981BD #4B9FD8

Accessibility & contrast

On white

6.85
#1E5F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1E5F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E5F8B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5F8B#FFFFFF#000000##FFFFFF
##1E5F8B1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1e5f8b;
/* rgb */ color: rgb(30, 95, 139);
/* oklch */ color: oklch(46.7% 0.096 242.8);
Tailwind
colors: {
  custom: {
    50: '#6b8cad',
    500: '#1e5f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e5f8b;
$custom-light: #6b8cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5f8b",
  "rgb": {
    "r": 30,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 204.22,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.09598,
    "h": 242.8
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#1E5F8B
secondary
#BB784A
accent
#8440E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1E5F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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