#2D3DCE#2D3DCE

#2D3DCE is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.5% C 0.220 H 269.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2D3DCE
RGBrgb(45, 61, 206)
HSLhsl(234, 64%, 49%)
HSVhsv(234, 78%, 81%)
CMYKcmyk(78.2%, 70.4%, 0%, 19.2%)
CIE-LABlab(34.70, 44.81, -75.88)
CIE-LCHlch(34.70, 88.12, 300.56°)
OKLaboklab(45.55% -0.0017 -0.2198)
OKLCHoklch(45.55% 0.22 269.6)
XYZxyz(13.8877, 8.3500, 59.2603)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DCE #CEBE2D
analogous
#2D8ECE #2D3DCE #6E2DCE
triadic
#2D3DCE #CE2D3D #3DCE2D
tetradic
#2D3DCE #CE2D8E #CEBE2D #2DCE6E
square
#2D3DCE #CE2D8E #CEBE2D #2DCE6E
split-complementary
#2D3DCE #CE6E2D #8ECE2D
monochromatic
#171F6A #222E9C #2D3DCE #5D69DC #8F98E7

Accessibility & contrast

On white

7.86
#2D3DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D3DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DCE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DCE#FFFFFF#000000##FFFFFF
##2D3DCE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3dce;
/* rgb */ color: rgb(45, 61, 206);
/* oklch */ color: oklch(45.5% 0.220 269.6);
Tailwind
colors: {
  custom: {
    50: '#8173de',
    500: '#2d3dce',
    950: '#000000',
  },
}
SCSS
$custom: #2d3dce;
$custom-light: #8173de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3dce",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 234.037,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.21977,
    "h": 269.6
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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