#2E5ACA#2E5ACA

#2E5ACA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.181 H 264.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2E5ACA
RGBrgb(46, 90, 202)
HSLhsl(223, 63%, 49%)
HSVhsv(223, 77%, 79%)
CMYKcmyk(77.2%, 55.4%, 0%, 20.8%)
CIE-LABlab(41.46, 25.13, -62.49)
CIE-LCHlch(41.46, 67.36, 291.91°)
OKLaboklab(50.44% -0.0174 -0.1803)
OKLCHoklch(50.44% 0.181 264.5)
XYZxyz(15.4398, 12.1557, 57.3982)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ACA #CA9E2E
analogous
#2EA8CA #2E5ACA #502ECA
triadic
#2E5ACA #CA2E5A #5ACA2E
tetradic
#2E5ACA #CA2EA8 #CA9E2E #2ECA50
square
#2E5ACA #CA2EA8 #CA9E2E #2ECA50
split-complementary
#2E5ACA #CA502E #A8CA2E
monochromatic
#172E66 #234498 #2E5ACA #5B7FDA #8DA6E5

Accessibility & contrast

On white

6.12
#2E5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2E5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ACA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ACA#FFFFFF#000000##FFFFFF
##2E5ACA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5aca;
/* rgb */ color: rgb(46, 90, 202);
/* oklch */ color: oklch(50.4% 0.181 264.5);
Tailwind
colors: {
  custom: {
    50: '#7e88db',
    500: '#2e5aca',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aca;
$custom-light: #7e88db;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aca",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 223.077,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.18111,
    "h": 264.5
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#2E5ACA
secondary
#CFBA84
accent
#B842E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2E5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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