#2E5DBA#2E5DBA

#2E5DBA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.156 H 262.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2E5DBA
RGBrgb(46, 93, 186)
HSLhsl(220, 60%, 45%)
HSVhsv(220, 75%, 73%)
CMYKcmyk(75.3%, 50%, 0%, 27.1%)
CIE-LABlab(41.14, 17.13, -53.72)
CIE-LCHlch(41.14, 56.38, 287.69°)
OKLaboklab(49.84% -0.0212 -0.1544)
OKLCHoklch(49.84% 0.156 262.2)
XYZxyz(13.9008, 11.9532, 48.0194)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DBA #BA8B2E
analogous
#2EA3BA #2E5DBA #452EBA
triadic
#2E5DBA #BA2E5D #5DBA2E
tetradic
#2E5DBA #BA2EA3 #BA8B2E #2EBA45
square
#2E5DBA #BA2EA3 #BA8B2E #2EBA45
split-complementary
#2E5DBA #BA452E #A3BA2E
monochromatic
#162C58 #224489 #2E5DBA #517DD4 #82A2E0

Accessibility & contrast

On white

6.19
#2E5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2E5DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DBA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DBA#FFFFFF#000000##FFFFFF
##2E5DBA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5dba;
/* rgb */ color: rgb(46, 93, 186);
/* oklch */ color: oklch(49.8% 0.156 262.2);
Tailwind
colors: {
  custom: {
    50: '#7a8acf',
    500: '#2e5dba',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dba;
$custom-light: #7a8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dba",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 219.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.15587,
    "h": 262.2
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#2E5DBA
secondary
#C9AF7B
accent
#AE44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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