#2E5C87#2E5C87

#2E5C87 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.087 H 248.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2E5C87
RGBrgb(46, 92, 135)
HSLhsl(209, 49%, 35%)
HSVhsv(209, 66%, 53%)
CMYKcmyk(65.9%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.81, -1.34, -28.62)
CIE-LCHlch(37.81, 28.65, 267.32°)
OKLaboklab(46.28% -0.0314 -0.0808)
OKLCHoklch(46.28% 0.087 248.8)
XYZxyz(9.3254, 9.9835, 24.3525)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C87 #87592E
analogous
#2E8785 #2E5C87 #2E2F87
triadic
#2E5C87 #872E5C #5C872E
tetradic
#2E5C87 #852E87 #87592E #2F872E
square
#2E5C87 #852E87 #87592E #2F872E
split-complementary
#2E5C87 #872E2F #87852E
monochromatic
#0F1E2C #1E3D59 #2E5C87 #3E7BB5 #6599CA

Accessibility & contrast

On white

7.01
#2E5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E5C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C87
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C87#FFFFFF#000000##FFFFFF
##2E5C871.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5c87;
/* rgb */ color: rgb(46, 92, 135);
/* oklch */ color: oklch(46.3% 0.087 248.8);
Tailwind
colors: {
  custom: {
    50: '#7089aa',
    500: '#2e5c87',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c87;
$custom-light: #7089aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c87",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 208.989,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.08672,
    "h": 248.8
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#2E5C87
secondary
#B18760
accent
#924FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C87

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

Preview Lab → · Contrast checker → · Palette generator →

#2E5C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva