#2E45BF#2E45BF

#2E45BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.192 H 268.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E45BF
RGBrgb(46, 69, 191)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 75%)
CMYKcmyk(75.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(35.20, 34.64, -66.31)
CIE-LCHlch(35.20, 74.81, 297.58°)
OKLaboklab(45.5% -0.0038 -0.1918)
OKLCHoklch(45.5% 0.192 268.9)
XYZxyz(12.6556, 8.5973, 50.2726)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45BF #BFA82E
analogous
#2E8EBF #2E45BF #602EBF
triadic
#2E45BF #BF2E45 #45BF2E
tetradic
#2E45BF #BF2E8E #BFA82E #2EBF60
square
#2E45BF #BF2E8E #BFA82E #2EBF60
split-complementary
#2E45BF #BF602E #8EBF2E
monochromatic
#16215C #22338E #2E45BF #5469D6 #8694E2

Accessibility & contrast

On white

7.72
#2E45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45BF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45BF#FFFFFF#000000##FFFFFF
##2E45BF1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e45bf;
/* rgb */ color: rgb(46, 69, 191);
/* oklch */ color: oklch(45.5% 0.192 268.9);
Tailwind
colors: {
  custom: {
    50: '#7d78d3',
    500: '#2e45bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e45bf;
$custom-light: #7d78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45bf",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 230.483,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.19181,
    "h": 268.9
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#2E45BF
secondary
#CBBF7E
accent
#CB44E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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