#2E5C8F#2E5C8F

#2E5C8F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.097 H 252.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5C8F
RGBrgb(46, 92, 143)
HSLhsl(212, 51%, 37%)
HSVhsv(212, 68%, 56%)
CMYKcmyk(67.8%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.23, 1.58, -32.82)
CIE-LCHlch(38.23, 32.85, 272.76°)
OKLaboklab(46.74% -0.029 -0.0931)
OKLCHoklch(46.74% 0.097 252.7)
XYZxyz(9.9100, 10.2173, 27.4311)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C8F #8F612E
analogous
#2E8D8F #2E5C8F #302E8F
triadic
#2E5C8F #8F2E5C #5C8F2E
tetradic
#2E5C8F #8F2E8D #8F612E #2E8F30
square
#2E5C8F #8F2E8D #8F612E #2E8F30
split-complementary
#2E5C8F #8F302E #8D8F2E
monochromatic
#102032 #1F3E61 #2E5C8F #3D7ABD #6999CF

Accessibility & contrast

On white

6.90
#2E5C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E5C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C8F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C8F#FFFFFF#000000##FFFFFF
##2E5C8F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5c8f;
/* rgb */ color: rgb(46, 92, 143);
/* oklch */ color: oklch(46.7% 0.097 252.7);
Tailwind
colors: {
  custom: {
    50: '#7289b0',
    500: '#2e5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c8f;
$custom-light: #7289b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c8f",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 211.546,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.09748,
    "h": 252.7
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#2E5C8F
secondary
#B68F63
accent
#984DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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