#2E5C8E#2E5C8E

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

Color values

HEX#2E5C8E
RGBrgb(46, 92, 142)
HSLhsl(211, 51%, 37%)
HSVhsv(211, 68%, 56%)
CMYKcmyk(67.6%, 35.2%, 0%, 44.3%)
CIE-LABlab(38.18, 1.22, -32.30)
CIE-LCHlch(38.18, 32.32, 272.16°)
OKLaboklab(46.68% -0.0293 -0.0916)
OKLCHoklch(46.68% 0.096 252.3)
XYZxyz(9.8346, 10.1871, 27.0340)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C8E #8E602E
analogous
#2E8C8E #2E5C8E #302E8E
triadic
#2E5C8E #8E2E5C #5C8E2E
tetradic
#2E5C8E #8E2E8C #8E602E #2E8E30
square
#2E5C8E #8E2E8C #8E602E #2E8E30
split-complementary
#2E5C8E #8E302E #8C8E2E
monochromatic
#102032 #1F3E60 #2E5C8E #3D7ABC #6899CE

Accessibility & contrast

On white

6.91
#2E5C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5C8E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C8E#FFFFFF#000000##FFFFFF
##2E5C8E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5c8e;
/* rgb */ color: rgb(46, 92, 142);
/* oklch */ color: oklch(46.7% 0.096 252.3);
Tailwind
colors: {
  custom: {
    50: '#7189af',
    500: '#2e5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c8e;
$custom-light: #7189af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c8e",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 211.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.09612,
    "h": 252.3
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#2E5C8E
secondary
#B58E63
accent
#974DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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