#2D2EB4#2D2EB4

#2D2EB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.203 H 272.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB4
RGBrgb(45, 46, 180)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(75%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.92, 44.73, -70.14)
CIE-LCHlch(28.92, 83.18, 302.53°)
OKLaboklab(40.62% 0.0086 -0.203)
OKLCHoklch(40.62% 0.203 272.4)
XYZxyz(10.2946, 5.8061, 43.7493)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB4 #B4B32D
analogous
#2D71B4 #2D2EB4 #702DB4
triadic
#2D2EB4 #B42D2E #2EB42D
tetradic
#2D2EB4 #B42D71 #B4B32D #2DB470
square
#2D2EB4 #B42D71 #B4B32D #2DB470
split-complementary
#2D2EB4 #B4702D #71B42D
monochromatic
#151552 #212183 #2D2EB4 #4C4DD2 #7D7EDE

Accessibility & contrast

On white

9.72
#2D2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB4#FFFFFF#000000##FFFFFF
##2D2EB41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2eb4;
/* rgb */ color: rgb(45, 46, 180);
/* oklch */ color: oklch(40.6% 0.203 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2d2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb4;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb4",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 239.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.20317,
    "h": 272.4
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#2D2EB4
secondary
#C7C676
accent
#E245E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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