#2E5E97#2E5E97

#2E5E97 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.106 H 254.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2E5E97
RGBrgb(46, 94, 151)
HSLhsl(213, 53%, 39%)
HSVhsv(213, 70%, 59%)
CMYKcmyk(69.5%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.27, 3.27, -35.98)
CIE-LCHlch(39.27, 36.13, 275.20°)
OKLaboklab(47.7% -0.0289 -0.1023)
OKLCHoklch(47.7% 0.106 254.2)
XYZxyz(10.7133, 10.8195, 30.7959)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E97 #97672E
analogous
#2E9297 #2E5E97 #322E97
triadic
#2E5E97 #972E5E #5E972E
tetradic
#2E5E97 #972E92 #97672E #2E9732
square
#2E5E97 #972E92 #97672E #2E9732
split-complementary
#2E5E97 #97322E #92972E
monochromatic
#112439 #204168 #2E5E97 #3E7BC4 #6D9BD2

Accessibility & contrast

On white

6.64
#2E5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5E97
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E97#FFFFFF#000000##FFFFFF
##2E5E971.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5e97;
/* rgb */ color: rgb(46, 94, 151);
/* oklch */ color: oklch(47.7% 0.106 254.2);
Tailwind
colors: {
  custom: {
    50: '#738bb6',
    500: '#2e5e97',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e97;
$custom-light: #738bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e97",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 212.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.10631,
    "h": 254.2
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#2E5E97
secondary
#BA9467
accent
#9A4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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