#2E5AA2#2E5AA2

#2E5AA2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.126 H 259.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5AA2
RGBrgb(46, 90, 162)
HSLhsl(217, 56%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(71.6%, 44.4%, 0%, 36.5%)
CIE-LABlab(38.73, 9.98, -43.44)
CIE-LCHlch(38.73, 44.57, 282.94°)
OKLaboklab(47.49% -0.0224 -0.1242)
OKLCHoklch(47.49% 0.126 259.8)
XYZxyz(11.3021, 10.5006, 35.6066)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AA2 #A2762E
analogous
#2E94A2 #2E5AA2 #3C2EA2
triadic
#2E5AA2 #A22E5A #5AA22E
tetradic
#2E5AA2 #A22E94 #A2762E #2EA23C
square
#2E5AA2 #A22E94 #A2762E #2EA23C
split-complementary
#2E5AA2 #A23C2E #94A22E
monochromatic
#132543 #204072 #2E5AA2 #4376CA #7399D7

Accessibility & contrast

On white

6.77
#2E5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E5AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AA2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AA2#FFFFFF#000000##FFFFFF
##2E5AA21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#2256A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5aa2;
/* rgb */ color: rgb(46, 90, 162);
/* oklch */ color: oklch(47.5% 0.126 259.8);
Tailwind
colors: {
  custom: {
    50: '#7588be',
    500: '#2e5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aa2;
$custom-light: #7588be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aa2",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 217.241,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.12624,
    "h": 259.8
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#2E5AA2
secondary
#BFA06D
accent
#A649DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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