#2E5C8D#2E5C8D

#2E5C8D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.095 H 251.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E5C8D
RGBrgb(46, 92, 141)
HSLhsl(211, 51%, 37%)
HSVhsv(211, 67%, 55%)
CMYKcmyk(67.4%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.12, 0.85, -31.77)
CIE-LCHlch(38.12, 31.79, 271.53°)
OKLaboklab(46.62% -0.0296 -0.09)
OKLCHoklch(46.62% 0.095 251.8)
XYZxyz(9.7598, 10.1572, 26.6403)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C8D #8D5F2E
analogous
#2E8C8D #2E5C8D #2F2E8D
triadic
#2E5C8D #8D2E5C #5C8D2E
tetradic
#2E5C8D #8D2E8C #8D5F2E #2E8D2F
square
#2E5C8D #8D2E8C #8D5F2E #2E8D2F
split-complementary
#2E5C8D #8D2F2E #8C8D2E
monochromatic
#102031 #1F3E5F #2E5C8D #3D7ABB #6899CE

Accessibility & contrast

On white

6.93
#2E5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C8D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C8D#FFFFFF#000000##FFFFFF
##2E5C8D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5c8d;
/* rgb */ color: rgb(46, 92, 141);
/* oklch */ color: oklch(46.6% 0.095 251.8);
Tailwind
colors: {
  custom: {
    50: '#7189ae',
    500: '#2e5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c8d;
$custom-light: #7189ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c8d",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 210.947,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.09476,
    "h": 251.8
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#2E5C8D
secondary
#B58D62
accent
#964EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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