#2E45B7#2E45B7

#2E45B7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.181 H 268.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2E45B7
RGBrgb(46, 69, 183)
HSLhsl(230, 60%, 45%)
HSVhsv(230, 75%, 72%)
CMYKcmyk(74.9%, 62.3%, 0%, 28.2%)
CIE-LABlab(34.51, 31.72, -62.73)
CIE-LCHlch(34.51, 70.29, 296.82°)
OKLaboklab(44.78% -0.0035 -0.1813)
OKLCHoklch(44.78% 0.181 268.9)
XYZxyz(11.7991, 8.2547, 45.7620)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45B7 #B7A02E
analogous
#2E8AB7 #2E45B7 #5C2EB7
triadic
#2E45B7 #B72E45 #45B72E
tetradic
#2E45B7 #B72E8A #B7A02E #2EB75C
square
#2E45B7 #B72E8A #B7A02E #2EB75C
split-complementary
#2E45B7 #B75C2E #8AB72E
monochromatic
#152055 #223386 #2E45B7 #4F65D3 #8090DF

Accessibility & contrast

On white

7.92
#2E45B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E45B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45B7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45B7#FFFFFF#000000##FFFFFF
##2E45B71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e45b7;
/* rgb */ color: rgb(46, 69, 183);
/* oklch */ color: oklch(44.8% 0.181 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b78ce',
    500: '#2e45b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e45b7;
$custom-light: #7b78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45b7",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 229.927,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.18131,
    "h": 268.9
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#2E45B7
secondary
#C8BB79
accent
#C845E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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