#2E5AAF#2E5AAF

#2E5AAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.144 H 262.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2E5AAF
RGBrgb(46, 90, 175)
HSLhsl(220, 58%, 43%)
HSVhsv(220, 74%, 69%)
CMYKcmyk(73.7%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.56, 14.91, -49.81)
CIE-LCHlch(39.56, 51.99, 286.67°)
OKLaboklab(48.39% -0.0202 -0.143)
OKLCHoklch(48.39% 0.144 262)
XYZxyz(12.5180, 10.9870, 42.0101)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AAF #AF832E
analogous
#2E9AAF #2E5AAF #422EAF
triadic
#2E5AAF #AF2E5A #5AAF2E
tetradic
#2E5AAF #AF2E9A #AF832E #2EAF42
square
#2E5AAF #AF2E9A #AF832E #2EAF42
split-complementary
#2E5AAF #AF422E #9AAF2E
monochromatic
#15284E #21417F #2E5AAF #4B78D0 #7B9CDC

Accessibility & contrast

On white

6.57
#2E5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AAF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AAF#FFFFFF#000000##FFFFFF
##2E5AAF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B2
Deuteranopia (green-blind)
#0158AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5aaf;
/* rgb */ color: rgb(46, 90, 175);
/* oklch */ color: oklch(48.4% 0.144 262.0);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2e5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aaf;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aaf",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 219.535,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.1444,
    "h": 262
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#2E5AAF
secondary
#C5A974
accent
#AD46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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