#2E5FA3#2E5FA3

#2E5FA3 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.122 H 257.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2E5FA3
RGBrgb(46, 95, 163)
HSLhsl(215, 56%, 41%)
HSVhsv(215, 72%, 64%)
CMYKcmyk(71.8%, 41.7%, 0%, 36.1%)
CIE-LABlab(40.26, 7.13, -41.58)
CIE-LCHlch(40.26, 42.19, 279.72°)
OKLaboklab(48.69% -0.027 -0.1187)
OKLCHoklch(48.69% 0.122 257.2)
XYZxyz(11.8274, 11.4083, 36.2219)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FA3 #A3722E
analogous
#2E99A3 #2E5FA3 #372EA3
triadic
#2E5FA3 #A32E5F #5FA32E
tetradic
#2E5FA3 #A32E99 #A3722E #2EA337
square
#2E5FA3 #A32E99 #A3722E #2EA337
split-complementary
#2E5FA3 #A3372E #99A32E
monochromatic
#132744 #214373 #2E5FA3 #447CCA #749ED8

Accessibility & contrast

On white

6.40
#2E5FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2E5FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FA3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FA3#FFFFFF#000000##FFFFFF
##2E5FA31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5fa3;
/* rgb */ color: rgb(46, 95, 163);
/* oklch */ color: oklch(48.7% 0.122 257.2);
Tailwind
colors: {
  custom: {
    50: '#758bbf',
    500: '#2e5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fa3;
$custom-light: #758bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fa3",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 214.872,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.12173,
    "h": 257.2
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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