#2E5AAC#2E5AAC

#2E5AAC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.140 H 261.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2E5AAC
RGBrgb(46, 90, 172)
HSLhsl(219, 58%, 43%)
HSVhsv(219, 73%, 67%)
CMYKcmyk(73.3%, 47.7%, 0%, 32.5%)
CIE-LABlab(39.36, 13.78, -48.35)
CIE-LCHlch(39.36, 50.28, 285.90°)
OKLaboklab(48.18% -0.0207 -0.1387)
OKLCHoklch(48.18% 0.14 261.5)
XYZxyz(12.2266, 10.8704, 40.4756)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5AAC #AC802E
analogous
#2E99AC #2E5AAC #412EAC
triadic
#2E5AAC #AC2E5A #5AAC2E
tetradic
#2E5AAC #AC2E99 #AC802E #2EAC41
square
#2E5AAC #AC2E99 #AC802E #2EAC41
split-complementary
#2E5AAC #AC412E #99AC2E
monochromatic
#14274B #21417C #2E5AAC #4977CE #799BDB

Accessibility & contrast

On white

6.62
#2E5AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E5AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5AAC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5AAC#FFFFFF#000000##FFFFFF
##2E5AAC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e5aac;
/* rgb */ color: rgb(46, 90, 172);
/* oklch */ color: oklch(48.2% 0.140 261.5);
Tailwind
colors: {
  custom: {
    50: '#7788c5',
    500: '#2e5aac',
    950: '#000000',
  },
}
SCSS
$custom: #2e5aac;
$custom-light: #7788c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5aac",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 219.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.14023,
    "h": 261.5
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#2E5AAC
secondary
#C3A772
accent
#AB47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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