#2D2EB1#2D2EB1

#2D2EB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.200 H 272.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2EB1
RGBrgb(45, 46, 177)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74.6%, 74%, 0%, 30.6%)
CIE-LABlab(28.60, 43.72, -68.87)
CIE-LCHlch(28.60, 81.57, 302.41°)
OKLaboklab(40.31% 0.0091 -0.1993)
OKLCHoklch(40.31% 0.2 272.6)
XYZxyz(9.9923, 5.6852, 42.1572)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2EB1 #B1B02D
analogous
#2D70B1 #2D2EB1 #6E2DB1
triadic
#2D2EB1 #B12D2E #2EB12D
tetradic
#2D2EB1 #B12D70 #B1B02D #2DB16E
square
#2D2EB1 #B12D70 #B1B02D #2DB16E
split-complementary
#2D2EB1 #B16E2D #70B12D
monochromatic
#14154F #212180 #2D2EB1 #4A4BD1 #7B7CDD

Accessibility & contrast

On white

9.83
#2D2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D2EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2EB1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2EB1#FFFFFF#000000##FFFFFF
##2D2EB11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2eb1;
/* rgb */ color: rgb(45, 46, 177);
/* oklch */ color: oklch(40.3% 0.200 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b68ca',
    500: '#2d2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2eb1;
$custom-light: #7b68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2eb1",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 239.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.1995,
    "h": 272.6
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#2D2EB1
secondary
#C6C574
accent
#E145E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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