#2E5DC9#2E5DC9

#2E5DC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.176 H 263.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2E5DC9
RGBrgb(46, 93, 201)
HSLhsl(222, 63%, 48%)
HSVhsv(222, 77%, 79%)
CMYKcmyk(77.1%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.19, 22.81, -60.73)
CIE-LCHlch(42.19, 64.87, 290.59°)
OKLaboklab(50.97% -0.0196 -0.175)
OKLCHoklch(50.97% 0.176 263.6)
XYZxyz(15.5799, 12.6248, 56.8627)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DC9 #C99A2E
analogous
#2EAAC9 #2E5DC9 #4C2EC9
triadic
#2E5DC9 #C92E5D #5DC92E
tetradic
#2E5DC9 #C92EAA #C99A2E #2EC94C
square
#2E5DC9 #C92EAA #C99A2E #2EC94C
split-complementary
#2E5DC9 #C94C2E #AAC92E
monochromatic
#172F65 #234697 #2E5DC9 #5B81D9 #8DA7E5

Accessibility & contrast

On white

5.96
#2E5DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E5DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DC9#FFFFFF#000000##FFFFFF
##2E5DC91.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e5dc9;
/* rgb */ color: rgb(46, 93, 201);
/* oklch */ color: oklch(51.0% 0.176 263.6);
Tailwind
colors: {
  custom: {
    50: '#7e8ada',
    500: '#2e5dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dc9;
$custom-light: #7e8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dc9",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 221.806,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.17614,
    "h": 263.6
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#2E5DC9
secondary
#CFB884
accent
#B442E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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