#2E5C8C#2E5C8C

#2E5C8C is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.093 H 251.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2E5C8C
RGBrgb(46, 92, 140)
HSLhsl(211, 51%, 36%)
HSVhsv(211, 67%, 55%)
CMYKcmyk(67.1%, 34.3%, 0%, 45.1%)
CIE-LABlab(38.07, 0.48, -31.25)
CIE-LCHlch(38.07, 31.26, 270.88°)
OKLaboklab(46.57% -0.0299 -0.0885)
OKLCHoklch(46.57% 0.093 251.4)
XYZxyz(9.6857, 10.1276, 26.2502)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C8C #8C5E2E
analogous
#2E8B8C #2E5C8C #2F2E8C
triadic
#2E5C8C #8C2E5C #5C8C2E
tetradic
#2E5C8C #8C2E8B #8C5E2E #2E8C2F
square
#2E5C8C #8C2E8B #8C5E2E #2E8C2F
split-complementary
#2E5C8C #8C2F2E #8B8C2E
monochromatic
#101F30 #1F3E5E #2E5C8C #3D7ABA #6799CD

Accessibility & contrast

On white

6.94
#2E5C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5C8C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C8C#FFFFFF#000000##FFFFFF
##2E5C8C1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8E
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5c8c;
/* rgb */ color: rgb(46, 92, 140);
/* oklch */ color: oklch(46.6% 0.093 251.4);
Tailwind
colors: {
  custom: {
    50: '#7189ae',
    500: '#2e5c8c',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c8c;
$custom-light: #7189ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c8c",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 140
  },
  "hsl": {
    "h": 210.638,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.0934,
    "h": 251.4
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#2E5C8C
secondary
#B48C62
accent
#954EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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