#2E45BD#2E45BD

#2E45BD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.189 H 268.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2E45BD
RGBrgb(46, 69, 189)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 74%)
CMYKcmyk(75.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.02, 33.91, -65.42)
CIE-LCHlch(35.02, 73.69, 297.40°)
OKLaboklab(45.32% -0.0037 -0.1892)
OKLCHoklch(45.32% 0.189 268.9)
XYZxyz(12.4370, 8.5099, 49.1213)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45BD #BDA62E
analogous
#2E8CBD #2E45BD #5E2EBD
triadic
#2E45BD #BD2E45 #45BD2E
tetradic
#2E45BD #BD2E8C #BDA62E #2EBD5E
square
#2E45BD #BD2E8C #BDA62E #2EBD5E
split-complementary
#2E45BD #BD5E2E #8CBD2E
monochromatic
#16215B #22338C #2E45BD #5368D5 #8493E1

Accessibility & contrast

On white

7.77
#2E45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45BD#FFFFFF#000000##FFFFFF
##2E45BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e45bd;
/* rgb */ color: rgb(46, 69, 189);
/* oklch */ color: oklch(45.3% 0.189 268.9);
Tailwind
colors: {
  custom: {
    50: '#7d78d2',
    500: '#2e45bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e45bd;
$custom-light: #7d78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45bd",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 230.35,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.1892,
    "h": 268.9
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#2E45BD
secondary
#CABE7C
accent
#CA44E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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