#2E5DCB#2E5DCB

#2E5DCB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.179 H 263.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2E5DCB
RGBrgb(46, 93, 203)
HSLhsl(222, 63%, 49%)
HSVhsv(222, 77%, 80%)
CMYKcmyk(77.3%, 54.2%, 0%, 20.4%)
CIE-LABlab(42.34, 23.56, -61.65)
CIE-LCHlch(42.34, 66.00, 290.92°)
OKLaboklab(51.13% -0.0194 -0.1777)
OKLCHoklch(51.13% 0.179 263.8)
XYZxyz(15.8167, 12.7195, 58.1098)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DCB #CB9C2E
analogous
#2EACCB #2E5DCB #4E2ECB
triadic
#2E5DCB #CB2E5D #5DCB2E
tetradic
#2E5DCB #CB2EAC #CB9C2E #2ECB4E
square
#2E5DCB #CB2EAC #CB9C2E #2ECB4E
split-complementary
#2E5DCB #CB4E2E #ACCB2E
monochromatic
#172F67 #234699 #2E5DCB #5C82DA #8EA8E5

Accessibility & contrast

On white

5.93
#2E5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E5DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DCB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DCB#FFFFFF#000000##FFFFFF
##2E5DCB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e5dcb;
/* rgb */ color: rgb(46, 93, 203);
/* oklch */ color: oklch(51.1% 0.179 263.8);
Tailwind
colors: {
  custom: {
    50: '#7e8adc',
    500: '#2e5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dcb;
$custom-light: #7e8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dcb",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 222.038,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.17881,
    "h": 263.8
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#2E5DCB
secondary
#D0B985
accent
#B542E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2E5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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