#2E45AE#2E45AE

#2E45AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.169 H 268.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2E45AE
RGBrgb(46, 69, 174)
HSLhsl(229, 58%, 43%)
HSVhsv(229, 74%, 68%)
CMYKcmyk(73.6%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.76, 28.39, -58.62)
CIE-LCHlch(33.76, 65.13, 295.85°)
OKLaboklab(43.99% -0.0034 -0.1692)
OKLCHoklch(43.99% 0.169 268.8)
XYZxyz(10.8922, 7.8919, 40.9854)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45AE #AE972E
analogous
#2E85AE #2E45AE #572EAE
triadic
#2E45AE #AE2E45 #45AE2E
tetradic
#2E45AE #AE2E85 #AE972E #2EAE57
square
#2E45AE #AE2E85 #AE972E #2EAE57
split-complementary
#2E45AE #AE572E #85AE2E
monochromatic
#141F4D #21327E #2E45AE #4A62CF #7A8CDC

Accessibility & contrast

On white

8.14
#2E45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45AE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45AE#FFFFFF#000000##FFFFFF
##2E45AE1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e45ae;
/* rgb */ color: rgb(46, 69, 174);
/* oklch */ color: oklch(44.0% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#7978c7',
    500: '#2e45ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e45ae;
$custom-light: #7978c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45ae",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 229.219,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.16926,
    "h": 268.8
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#2E45AE
secondary
#C4B674
accent
#C646E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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