#2E45CD#2E45CD

#2E45CD is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 46.8% C 0.210 H 268.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2E45CD
RGBrgb(46, 69, 205)
HSLhsl(231, 63%, 49%)
HSVhsv(231, 78%, 80%)
CMYKcmyk(77.6%, 66.3%, 0%, 19.6%)
CIE-LABlab(36.45, 39.68, -72.42)
CIE-LCHlch(36.45, 82.58, 298.72°)
OKLaboklab(46.8% -0.0045 -0.2096)
OKLCHoklch(46.8% 0.21 268.8)
XYZxyz(14.2705, 9.2433, 58.7778)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E45CD #CDB62E
analogous
#2E95CD #2E45CD #672ECD
triadic
#2E45CD #CD2E45 #45CD2E
tetradic
#2E45CD #CD2E95 #CDB62E #2ECD67
square
#2E45CD #CD2E95 #CDB62E #2ECD67
split-complementary
#2E45CD #CD672E #95CD2E
monochromatic
#182369 #23349B #2E45CD #5D70DB #8F9CE6

Accessibility & contrast

On white

7.37
#2E45CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E45CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E45CD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E45CD#FFFFFF#000000##FFFFFF
##2E45CD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#004ECA
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e45cd;
/* rgb */ color: rgb(46, 69, 205);
/* oklch */ color: oklch(46.8% 0.210 268.8);
Tailwind
colors: {
  custom: {
    50: '#8079dd',
    500: '#2e45cd',
    950: '#000000',
  },
}
SCSS
$custom: #2e45cd;
$custom-light: #8079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e45cd",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 231.321,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.20969,
    "h": 268.8
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#2E45CD
secondary
#D0C686
accent
#CF41E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2E45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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