#2E5C91#2E5C91

#2E5C91 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.100 H 253.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2E5C91
RGBrgb(46, 92, 145)
HSLhsl(212, 52%, 37%)
HSVhsv(212, 68%, 57%)
CMYKcmyk(68.3%, 36.6%, 0%, 43.1%)
CIE-LABlab(38.34, 2.32, -33.85)
CIE-LCHlch(38.34, 33.93, 273.92°)
OKLaboklab(46.86% -0.0284 -0.0961)
OKLCHoklch(46.86% 0.1 253.5)
XYZxyz(10.0628, 10.2784, 28.2362)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C91 #91632E
analogous
#2E8E91 #2E5C91 #322E91
triadic
#2E5C91 #912E5C #5C912E
tetradic
#2E5C91 #912E8E #91632E #2E9132
square
#2E5C91 #912E8E #91632E #2E9132
split-complementary
#2E5C91 #91322E #8E912E
monochromatic
#112134 #1F3F63 #2E5C91 #3D79BF #6A99D0

Accessibility & contrast

On white

6.87
#2E5C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E5C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C91
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C91#FFFFFF#000000##FFFFFF
##2E5C911.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F93
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5c91;
/* rgb */ color: rgb(46, 92, 145);
/* oklch */ color: oklch(46.9% 0.100 253.5);
Tailwind
colors: {
  custom: {
    50: '#7289b1',
    500: '#2e5c91',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c91;
$custom-light: #7289b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c91",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 145
  },
  "hsl": {
    "h": 212.121,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.10022,
    "h": 253.5
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#2E5C91
secondary
#B79064
accent
#994DDB
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5C91

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

Preview Lab → · Contrast checker → · Palette generator →

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