#2E5F97#2E5F97

#2E5F97 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.105 H 253.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2E5F97
RGBrgb(46, 95, 151)
HSLhsl(212, 53%, 39%)
HSVhsv(212, 70%, 59%)
CMYKcmyk(69.5%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.58, 2.64, -35.50)
CIE-LCHlch(39.58, 35.60, 274.25°)
OKLaboklab(47.94% -0.03 -0.1009)
OKLCHoklch(47.94% 0.105 253.5)
XYZxyz(10.8028, 10.9985, 30.8258)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F97 #97662E
analogous
#2E9397 #2E5F97 #312E97
triadic
#2E5F97 #972E5F #5F972E
tetradic
#2E5F97 #972E93 #97662E #2E9731
square
#2E5F97 #972E93 #97662E #2E9731
split-complementary
#2E5F97 #97312E #93972E
monochromatic
#112439 #204168 #2E5F97 #3E7DC4 #6D9CD2

Accessibility & contrast

On white

6.56
#2E5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F97
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F97#FFFFFF#000000##FFFFFF
##2E5F971.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5f97;
/* rgb */ color: rgb(46, 95, 151);
/* oklch */ color: oklch(47.9% 0.105 253.5);
Tailwind
colors: {
  custom: {
    50: '#738cb6',
    500: '#2e5f97',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f97;
$custom-light: #738cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f97",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 212,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.10524,
    "h": 253.5
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#2E5F97
secondary
#BA9367
accent
#994BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2E5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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