#2E5AC2#2E5AC2

#2E5AC2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.170 H 263.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2E5AC2
RGBrgb(46, 90, 194)
HSLhsl(222, 62%, 47%)
HSVhsv(222, 76%, 76%)
CMYKcmyk(76.3%, 53.6%, 0%, 23.9%)
CIE-LABlab(40.87, 22.12, -58.81)
CIE-LCHlch(40.87, 62.83, 290.61°)
OKLaboklab(49.81% -0.018 -0.1695)
OKLCHoklch(49.81% 0.17 263.9)
XYZxyz(14.5170, 11.7866, 52.5384)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AC2 #C2962E
analogous
#2EA4C2 #2E5AC2 #4C2EC2
triadic
#2E5AC2 #C22E5A #5AC22E
tetradic
#2E5AC2 #C22EA4 #C2962E #2EC24C
square
#2E5AC2 #C22EA4 #C2962E #2EC24C
split-complementary
#2E5AC2 #C24C2E #A4C22E
monochromatic
#172C5F #224391 #2E5AC2 #567DD7 #88A3E3

Accessibility & contrast

On white

6.25
#2E5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AC2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AC2#FFFFFF#000000##FFFFFF
##2E5AC21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0468C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5ac2;
/* rgb */ color: rgb(46, 90, 194);
/* oklch */ color: oklch(49.8% 0.170 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c88d5',
    500: '#2e5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ac2;
$custom-light: #7c88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ac2",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 222.162,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.17041,
    "h": 263.9
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#2E5AC2
secondary
#CCB57F
accent
#B543E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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