#2E5C8A#2E5C8A

#2E5C8A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.091 H 250.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2E5C8A
RGBrgb(46, 92, 138)
HSLhsl(210, 50%, 36%)
HSVhsv(210, 67%, 54%)
CMYKcmyk(66.7%, 33.3%, 0%, 45.9%)
CIE-LABlab(37.97, -0.25, -30.20)
CIE-LCHlch(37.97, 30.20, 269.52°)
OKLaboklab(46.45% -0.0305 -0.0854)
OKLCHoklch(46.45% 0.091 250.4)
XYZxyz(9.5396, 10.0692, 25.4806)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C8A #8A5C2E
analogous
#2E8A8A #2E5C8A #2E2E8A
triadic
#2E5C8A #8A2E5C #5C8A2E
tetradic
#2E5C8A #8A2E8A #8A5C2E #2E8A2E
square
#2E5C8A #8A2E8A #8A5C2E #2E8A2E
split-complementary
#2E5C8A #8A2E2E #8A8A2E
monochromatic
#0F1F2E #1F3D5C #2E5C8A #3D7BB8 #6699CC

Accessibility & contrast

On white

6.97
#2E5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2E5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5C8A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C8A#FFFFFF#000000##FFFFFF
##2E5C8A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5c8a;
/* rgb */ color: rgb(46, 92, 138);
/* oklch */ color: oklch(46.4% 0.091 250.4);
Tailwind
colors: {
  custom: {
    50: '#7189ac',
    500: '#2e5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c8a;
$custom-light: #7189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c8a",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.09072,
    "h": 250.4
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2E5C8A
secondary
#B38A61
accent
#944EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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