#2E5F7E#2E5F7E

#2E5F7E is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.5% C 0.073 H 238.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E5F7E
RGBrgb(46, 95, 126)
HSLhsl(203, 47%, 34%)
HSVhsv(203, 63%, 49%)
CMYKcmyk(63.5%, 24.6%, 0%, 50.6%)
CIE-LABlab(38.32, -6.40, -22.34)
CIE-LCHlch(38.32, 23.23, 254.02°)
OKLaboklab(46.54% -0.0379 -0.0626)
OKLCHoklch(46.54% 0.073 238.8)
XYZxyz(8.9834, 10.2707, 21.2436)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F7E #7E4D2E
analogous
#2E7E75 #2E5F7E #2E377E
triadic
#2E5F7E #7E2E5F #5F7E2E
tetradic
#2E5F7E #752E7E #7E4D2E #377E2E
square
#2E5F7E #752E7E #7E4D2E #377E2E
split-complementary
#2E5F7E #7E2E37 #7E752E
monochromatic
#0D1B24 #1E3D51 #2E5F7E #3E81AB #619EC5

Accessibility & contrast

On white

6.88
#2E5F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E5F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F7E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F7E#FFFFFF#000000##FFFFFF
##2E5F7E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5f7e;
/* rgb */ color: rgb(46, 95, 126);
/* oklch */ color: oklch(46.5% 0.073 238.8);
Tailwind
colors: {
  custom: {
    50: '#6f8ca3',
    500: '#2e5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f7e;
$custom-light: #6f8ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f7e",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 203.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.07322,
    "h": 238.8
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#2E5F7E
secondary
#AC7B5C
accent
#8552D6
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2E5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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