#2E5CDA#2E5CDA

#2E5CDA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.200 H 264.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2E5CDA
RGBrgb(46, 92, 218)
HSLhsl(224, 70%, 52%)
HSVhsv(224, 79%, 85%)
CMYKcmyk(78.9%, 57.8%, 0%, 14.5%)
CIE-LABlab(43.20, 29.82, -68.84)
CIE-LCHlch(43.20, 75.02, 293.42°)
OKLaboklab(52.14% -0.0178 -0.1989)
OKLCHoklch(52.14% 0.2 264.9)
XYZxyz(17.6043, 13.2950, 67.9545)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CDA #DAAC2E
analogous
#2EB2DA #2E5CDA #562EDA
triadic
#2E5CDA #DA2E5C #5CDA2E
tetradic
#2E5CDA #DA2EB2 #DAAC2E #2EDA56
square
#2E5CDA #DA2EB2 #DAAC2E #2EDA56
split-complementary
#2E5CDA #DA562E #B2DA2E
monochromatic
#153078 #1F44AC #2E5CDA #6285E3 #96ADEC

Accessibility & contrast

On white

5.74
#2E5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2E5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CDA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CDA#FFFFFF#000000##FFFFFF
##2E5CDA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e5cda;
/* rgb */ color: rgb(46, 92, 218);
/* oklch */ color: oklch(52.1% 0.200 264.9);
Tailwind
colors: {
  custom: {
    50: '#8289e6',
    500: '#2e5cda',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cda;
$custom-light: #8289e6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cda",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 223.953,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.1997,
    "h": 264.9
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#2E5CDA
secondary
#D8C38C
accent
#BD3BED
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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