#2E5FA1#2E5FA1

#2E5FA1 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.6% C 0.119 H 256.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2E5FA1
RGBrgb(46, 95, 161)
HSLhsl(214, 56%, 41%)
HSVhsv(214, 71%, 63%)
CMYKcmyk(71.4%, 41%, 0%, 36.9%)
CIE-LABlab(40.14, 6.37, -40.58)
CIE-LCHlch(40.14, 41.08, 278.93°)
OKLaboklab(48.56% -0.0275 -0.1157)
OKLCHoklch(48.56% 0.119 256.6)
XYZxyz(11.6496, 11.3372, 35.2857)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FA1 #A1702E
analogous
#2E98A1 #2E5FA1 #362EA1
triadic
#2E5FA1 #A12E5F #5FA12E
tetradic
#2E5FA1 #A12E98 #A1702E #2EA136
square
#2E5FA1 #A12E98 #A1702E #2EA136
split-complementary
#2E5FA1 #A1362E #98A12E
monochromatic
#132742 #204371 #2E5FA1 #437CC9 #739DD7

Accessibility & contrast

On white

6.43
#2E5FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5FA1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FA1#FFFFFF#000000##FFFFFF
##2E5FA11.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5fa1;
/* rgb */ color: rgb(46, 95, 161);
/* oklch */ color: oklch(48.6% 0.119 256.6);
Tailwind
colors: {
  custom: {
    50: '#758bbd',
    500: '#2e5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fa1;
$custom-light: #758bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fa1",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 214.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.11897,
    "h": 256.6
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#2E5FA1
secondary
#BE9B6C
accent
#9F49DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2E5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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