#2E5CA2#2E5CA2

#2E5CA2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.124 H 258.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2E5CA2
RGBrgb(46, 92, 162)
HSLhsl(216, 56%, 41%)
HSVhsv(216, 72%, 64%)
CMYKcmyk(71.6%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.31, 8.68, -42.50)
CIE-LCHlch(39.31, 43.37, 281.55°)
OKLaboklab(47.94% -0.0244 -0.1214)
OKLCHoklch(47.94% 0.124 258.7)
XYZxyz(11.4731, 10.8426, 35.6636)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CA2 #A2742E
analogous
#2E96A2 #2E5CA2 #3A2EA2
triadic
#2E5CA2 #A22E5C #5CA22E
tetradic
#2E5CA2 #A22E96 #A2742E #2EA23A
square
#2E5CA2 #A22E96 #A2742E #2EA23A
split-complementary
#2E5CA2 #A23A2E #96A22E
monochromatic
#132643 #204172 #2E5CA2 #4379CA #739BD7

Accessibility & contrast

On white

6.63
#2E5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CA2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CA2#FFFFFF#000000##FFFFFF
##2E5CA21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2658A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5ca2;
/* rgb */ color: rgb(46, 92, 162);
/* oklch */ color: oklch(47.9% 0.124 258.7);
Tailwind
colors: {
  custom: {
    50: '#7589be',
    500: '#2e5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ca2;
$custom-light: #7589be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ca2",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 216.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.12385,
    "h": 258.7
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#2E5CA2
secondary
#BF9E6D
accent
#A349DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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