#2E5D91#2E5D91

#2E5D91 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.099 H 252.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2E5D91
RGBrgb(46, 93, 145)
HSLhsl(212, 52%, 37%)
HSVhsv(212, 68%, 57%)
CMYKcmyk(68.3%, 35.9%, 0%, 43.1%)
CIE-LABlab(38.64, 1.69, -33.37)
CIE-LCHlch(38.64, 33.41, 272.89°)
OKLaboklab(47.1% -0.0295 -0.0947)
OKLCHoklch(47.1% 0.099 252.7)
XYZxyz(10.1500, 10.4528, 28.2653)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D91 #91622E
analogous
#2E8E91 #2E5D91 #312E91
triadic
#2E5D91 #912E5D #5D912E
tetradic
#2E5D91 #912E8E #91622E #2E9131
square
#2E5D91 #912E8E #91622E #2E9131
split-complementary
#2E5D91 #91312E #8E912E
monochromatic
#112134 #1F3F63 #2E5D91 #3D7BBF #6A9AD0

Accessibility & contrast

On white

6.79
#2E5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5D91
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D91#FFFFFF#000000##FFFFFF
##2E5D911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5d91;
/* rgb */ color: rgb(46, 93, 145);
/* oklch */ color: oklch(47.1% 0.099 252.7);
Tailwind
colors: {
  custom: {
    50: '#728ab1',
    500: '#2e5d91',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d91;
$custom-light: #728ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d91",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 211.515,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.09917,
    "h": 252.7
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#2E5D91
secondary
#B78F64
accent
#984DDB
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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