#2E5FA2#2E5FA2

#2E5FA2 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.120 H 256.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2E5FA2
RGBrgb(46, 95, 162)
HSLhsl(215, 56%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(71.6%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.20, 6.75, -41.08)
CIE-LCHlch(40.20, 41.63, 279.33°)
OKLaboklab(48.63% -0.0273 -0.1172)
OKLCHoklch(48.63% 0.12 256.9)
XYZxyz(11.7381, 11.3726, 35.7519)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FA2 #A2712E
analogous
#2E99A2 #2E5FA2 #372EA2
triadic
#2E5FA2 #A22E5F #5FA22E
tetradic
#2E5FA2 #A22E99 #A2712E #2EA237
square
#2E5FA2 #A22E99 #A2712E #2EA237
split-complementary
#2E5FA2 #A2372E #99A22E
monochromatic
#132743 #204372 #2E5FA2 #437CCA #739DD7

Accessibility & contrast

On white

6.41
#2E5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2E5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FA2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FA2#FFFFFF#000000##FFFFFF
##2E5FA21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5fa2;
/* rgb */ color: rgb(46, 95, 162);
/* oklch */ color: oklch(48.6% 0.120 256.9);
Tailwind
colors: {
  custom: {
    50: '#758bbe',
    500: '#2e5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fa2;
$custom-light: #758bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fa2",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 214.655,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.12035,
    "h": 256.9
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#2E5FA2
secondary
#BF9C6D
accent
#A049DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2E5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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