#2E5AB9#2E5AB9

#2E5AB9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.158 H 263.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2E5AB9
RGBrgb(46, 90, 185)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(75.1%, 51.4%, 0%, 27.5%)
CIE-LABlab(40.24, 18.71, -54.59)
CIE-LCHlch(40.24, 57.71, 288.92°)
OKLaboklab(49.13% -0.0189 -0.157)
OKLCHoklch(49.13% 0.158 263.1)
XYZxyz(13.5367, 11.3945, 47.3755)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AB9 #B98D2E
analogous
#2E9FB9 #2E5AB9 #472EB9
triadic
#2E5AB9 #B92E5A #5AB92E
tetradic
#2E5AB9 #B92E9F #B98D2E #2EB947
square
#2E5AB9 #B92E9F #B98D2E #2EB947
split-complementary
#2E5AB9 #B9472E #9FB92E
monochromatic
#162A57 #224288 #2E5AB9 #517AD4 #829FE0

Accessibility & contrast

On white

6.40
#2E5AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2E5AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AB9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AB9#FFFFFF#000000##FFFFFF
##2E5AB91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5ab9;
/* rgb */ color: rgb(46, 90, 185);
/* oklch */ color: oklch(49.1% 0.158 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a88cf',
    500: '#2e5ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ab9;
$custom-light: #7a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ab9",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 221.007,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.15818,
    "h": 263.1
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#2E5AB9
secondary
#C9B07A
accent
#B144E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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