#2E5AAA#2E5AAA

#2E5AAA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.137 H 261.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2E5AAA
RGBrgb(46, 90, 170)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 67%)
CMYKcmyk(72.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(39.23, 13.02, -47.38)
CIE-LCHlch(39.23, 49.13, 285.36°)
OKLaboklab(48.04% -0.021 -0.1358)
OKLCHoklch(48.04% 0.137 261.2)
XYZxyz(12.0360, 10.7942, 39.4716)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AAA #AA7E2E
analogous
#2E98AA #2E5AAA #402EAA
triadic
#2E5AAA #AA2E5A #5AAA2E
tetradic
#2E5AAA #AA2E98 #AA7E2E #2EAA40
square
#2E5AAA #AA2E98 #AA7E2E #2EAA40
split-complementary
#2E5AAA #AA402E #98AA2E
monochromatic
#14274A #21407A #2E5AAA #4877CD #789BDA

Accessibility & contrast

On white

6.65
#2E5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AAA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AAA#FFFFFF#000000##FFFFFF
##2E5AAA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AD
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5aaa;
/* rgb */ color: rgb(46, 90, 170);
/* oklch */ color: oklch(48.0% 0.137 261.2);
Tailwind
colors: {
  custom: {
    50: '#7788c4',
    500: '#2e5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aaa;
$custom-light: #7788c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aaa",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 218.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.13745,
    "h": 261.2
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#2E5AAA
secondary
#C3A671
accent
#AA47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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