#2E5CA0#2E5CA0

#2E5CA0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.121 H 258.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2E5CA0
RGBrgb(46, 92, 160)
HSLhsl(216, 55%, 40%)
HSVhsv(216, 71%, 63%)
CMYKcmyk(71.2%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.19, 7.93, -41.50)
CIE-LCHlch(39.19, 42.25, 280.82°)
OKLaboklab(47.81% -0.0248 -0.1185)
OKLCHoklch(47.81% 0.121 258.2)
XYZxyz(11.2967, 10.7720, 34.7347)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CA0 #A0722E
analogous
#2E95A0 #2E5CA0 #392EA0
triadic
#2E5CA0 #A02E5C #5CA02E
tetradic
#2E5CA0 #A02E95 #A0722E #2EA039
square
#2E5CA0 #A02E95 #A0722E #2EA039
split-complementary
#2E5CA0 #A0392E #95A02E
monochromatic
#132541 #204170 #2E5CA0 #4279C9 #729BD6

Accessibility & contrast

On white

6.66
#2E5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CA0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CA0#FFFFFF#000000##FFFFFF
##2E5CA01.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#29579F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5ca0;
/* rgb */ color: rgb(46, 92, 160);
/* oklch */ color: oklch(47.8% 0.121 258.2);
Tailwind
colors: {
  custom: {
    50: '#7589bc',
    500: '#2e5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ca0;
$custom-light: #7589bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ca0",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 215.789,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.12105,
    "h": 258.2
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#2E5CA0
secondary
#BE9D6C
accent
#A249DF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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