#2E5EA1#2E5EA1

#2E5EA1 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.120 H 257.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E5EA1
RGBrgb(46, 94, 161)
HSLhsl(215, 56%, 41%)
HSVhsv(215, 71%, 63%)
CMYKcmyk(71.4%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.85, 7.02, -41.05)
CIE-LCHlch(39.85, 41.65, 279.70°)
OKLaboklab(48.33% -0.0265 -0.1172)
OKLCHoklch(48.33% 0.12 257.3)
XYZxyz(11.5601, 11.1582, 35.2558)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EA1 #A1712E
analogous
#2E97A1 #2E5EA1 #382EA1
triadic
#2E5EA1 #A12E5E #5EA12E
tetradic
#2E5EA1 #A12E97 #A1712E #2EA138
square
#2E5EA1 #A12E97 #A1712E #2EA138
split-complementary
#2E5EA1 #A1382E #97A12E
monochromatic
#132642 #204271 #2E5EA1 #437BC9 #739CD7

Accessibility & contrast

On white

6.50
#2E5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EA1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EA1#FFFFFF#000000##FFFFFF
##2E5EA11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5ea1;
/* rgb */ color: rgb(46, 94, 161);
/* oklch */ color: oklch(48.3% 0.120 257.3);
Tailwind
colors: {
  custom: {
    50: '#758bbd',
    500: '#2e5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ea1;
$custom-light: #758bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ea1",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 214.957,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.12012,
    "h": 257.3
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#2E5EA1
secondary
#BE9C6C
accent
#A049DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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