#2E5AC0#2E5AC0

#2E5AC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.168 H 263.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2E5AC0
RGBrgb(46, 90, 192)
HSLhsl(222, 61%, 47%)
HSVhsv(222, 76%, 75%)
CMYKcmyk(76%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.73, 21.36, -57.88)
CIE-LCHlch(40.73, 61.70, 290.26°)
OKLaboklab(49.66% -0.0182 -0.1667)
OKLCHoklch(49.66% 0.168 263.8)
XYZxyz(14.2939, 11.6973, 51.3634)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AC0 #C0942E
analogous
#2EA3C0 #2E5AC0 #4B2EC0
triadic
#2E5AC0 #C02E5A #5AC02E
tetradic
#2E5AC0 #C02EA3 #C0942E #2EC04B
square
#2E5AC0 #C02EA3 #C0942E #2EC04B
split-complementary
#2E5AC0 #C04B2E #A3C02E
monochromatic
#162C5D #22438F #2E5AC0 #557CD6 #86A2E2

Accessibility & contrast

On white

6.29
#2E5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2E5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AC0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AC0#FFFFFF#000000##FFFFFF
##2E5AC01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5ac0;
/* rgb */ color: rgb(46, 90, 192);
/* oklch */ color: oklch(49.7% 0.168 263.8);
Tailwind
colors: {
  custom: {
    50: '#7c88d4',
    500: '#2e5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ac0;
$custom-light: #7c88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ac0",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 221.918,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.16771,
    "h": 263.8
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#2E5AC0
secondary
#CCB47E
accent
#B443E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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