#2E5ABD#2E5ABD

#2E5ABD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.164 H 263.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2E5ABD
RGBrgb(46, 90, 189)
HSLhsl(222, 61%, 46%)
HSVhsv(222, 76%, 74%)
CMYKcmyk(75.7%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.52, 20.23, -56.48)
CIE-LCHlch(40.52, 59.99, 289.71°)
OKLaboklab(49.43% -0.0185 -0.1626)
OKLCHoklch(49.43% 0.164 263.5)
XYZxyz(13.9649, 11.5657, 49.6307)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ABD #BD912E
analogous
#2EA1BD #2E5ABD #492EBD
triadic
#2E5ABD #BD2E5A #5ABD2E
tetradic
#2E5ABD #BD2EA1 #BD912E #2EBD49
square
#2E5ABD #BD2EA1 #BD912E #2EBD49
split-complementary
#2E5ABD #BD492E #A1BD2E
monochromatic
#162B5B #22438C #2E5ABD #537BD5 #84A1E1

Accessibility & contrast

On white

6.34
#2E5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2E5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ABD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ABD#FFFFFF#000000##FFFFFF
##2E5ABD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5abd;
/* rgb */ color: rgb(46, 90, 189);
/* oklch */ color: oklch(49.4% 0.164 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b88d2',
    500: '#2e5abd',
    950: '#000000',
  },
}
SCSS
$custom: #2e5abd;
$custom-light: #7b88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5abd",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 221.538,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.16364,
    "h": 263.5
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#2E5ABD
secondary
#CAB27C
accent
#B344E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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