#2D3ECE#2D3ECE

#2D3ECE is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.219 H 269.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2D3ECE
RGBrgb(45, 62, 206)
HSLhsl(234, 64%, 49%)
HSVhsv(234, 78%, 81%)
CMYKcmyk(78.2%, 69.9%, 0%, 19.2%)
CIE-LABlab(34.92, 44.21, -75.52)
CIE-LCHlch(34.92, 87.51, 300.35°)
OKLaboklab(45.7% -0.0022 -0.2187)
OKLCHoklch(45.7% 0.219 269.4)
XYZxyz(13.9416, 8.4578, 59.2783)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3ECE #CEBD2D
analogous
#2D8ECE #2D3ECE #6D2DCE
triadic
#2D3ECE #CE2D3E #3ECE2D
tetradic
#2D3ECE #CE2D8E #CEBD2D #2DCE6D
square
#2D3ECE #CE2D8E #CEBD2D #2DCE6D
split-complementary
#2D3ECE #CE6D2D #8ECE2D
monochromatic
#17206A #222F9C #2D3ECE #5D6ADC #8F98E7

Accessibility & contrast

On white

7.80
#2D3ECE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D3ECE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3ECE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3ECE#FFFFFF#000000##FFFFFF
##2D3ECE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004ACB
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d3ece;
/* rgb */ color: rgb(45, 62, 206);
/* oklch */ color: oklch(45.7% 0.219 269.4);
Tailwind
colors: {
  custom: {
    50: '#8174de',
    500: '#2d3ece',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ece;
$custom-light: #8174de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ece",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 233.665,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.21872,
    "h": 269.4
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#2D3ECE
secondary
#D1C986
accent
#D641E7
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2D3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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