#2D2EB3#2D2EB3

#2D2EB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.5% C 0.202 H 272.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB3
RGBrgb(45, 46, 179)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.9%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.81, 44.39, -69.71)
CIE-LCHlch(28.81, 82.65, 302.49°)
OKLaboklab(40.52% 0.0088 -0.2018)
OKLCHoklch(40.52% 0.202 272.5)
XYZxyz(10.1931, 5.7655, 43.2147)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB3 #B3B22D
analogous
#2D71B3 #2D2EB3 #6F2DB3
triadic
#2D2EB3 #B32D2E #2EB32D
tetradic
#2D2EB3 #B32D71 #B3B22D #2DB36F
square
#2D2EB3 #B32D71 #B3B22D #2DB36F
split-complementary
#2D2EB3 #B36F2D #71B32D
monochromatic
#141551 #212182 #2D2EB3 #4B4CD2 #7C7DDE

Accessibility & contrast

On white

9.75
#2D2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB3#FFFFFF#000000##FFFFFF
##2D2EB31.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2eb3;
/* rgb */ color: rgb(45, 46, 179);
/* oklch */ color: oklch(40.5% 0.202 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c68cb',
    500: '#2d2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb3;
$custom-light: #7c68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb3",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 239.552,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.20195,
    "h": 272.5
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#2D2EB3
secondary
#C7C675
accent
#E245E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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