#2D3ACA#2D3ACA

#2D3ACA is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.218 H 270.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2D3ACA
RGBrgb(45, 58, 202)
HSLhsl(235, 64%, 48%)
HSVhsv(235, 78%, 79%)
CMYKcmyk(77.7%, 71.3%, 0%, 20.8%)
CIE-LABlab(33.66, 45.21, -75.26)
CIE-LCHlch(33.66, 87.80, 300.99°)
OKLaboklab(44.68% 0 -0.218)
OKLCHoklch(44.68% 0.218 270)
XYZxyz(13.2523, 7.8468, 56.6818)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3ACA #CABD2D
analogous
#2D88CA #2D3ACA #6E2DCA
triadic
#2D3ACA #CA2D3A #3ACA2D
tetradic
#2D3ACA #CA2D88 #CABD2D #2DCA6E
square
#2D3ACA #CA2D88 #CABD2D #2DCA6E
split-complementary
#2D3ACA #CA6E2D #88CA2D
monochromatic
#171D66 #222C98 #2D3ACA #5A65DA #8C93E5

Accessibility & contrast

On white

8.17
#2D3ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D3ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3ACA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3ACA#FFFFFF#000000##FFFFFF
##2D3ACA1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d3aca;
/* rgb */ color: rgb(45, 58, 202);
/* oklch */ color: oklch(44.7% 0.218 270.0);
Tailwind
colors: {
  custom: {
    50: '#8071db',
    500: '#2d3aca',
    950: '#000000',
  },
}
SCSS
$custom: #2d3aca;
$custom-light: #8071db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3aca",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 235.032,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.21797,
    "h": 270
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#2D3ACA
secondary
#CFC983
accent
#D941E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2D3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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