#2D2DB3#2D2DB3

#2D2DB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.203 H 272.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2D2DB3
RGBrgb(45, 45, 179)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.61, 44.96, -70.05)
CIE-LCHlch(28.61, 83.23, 302.69°)
OKLaboklab(40.37% 0.0092 -0.2027)
OKLCHoklch(40.37% 0.203 272.6)
XYZxyz(10.1545, 5.6883, 43.2019)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2DB3 #B3B32D
analogous
#2D70B3 #2D2DB3 #702DB3
triadic
#2D2DB3 #B32D2D #2DB32D
tetradic
#2D2DB3 #B32D70 #B3B32D #2DB370
square
#2D2DB3 #B32D70 #B3B32D #2DB370
split-complementary
#2D2DB3 #B3702D #70B32D
monochromatic
#141451 #212182 #2D2DB3 #4B4BD2 #7C7CDE

Accessibility & contrast

On white

9.82
#2D2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2DB3
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2DB3#FFFFFF#000000##FFFFFF
##2D2DB31.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2db3;
/* rgb */ color: rgb(45, 45, 179);
/* oklch */ color: oklch(40.4% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c68cb',
    500: '#2d2db3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2db3;
$custom-light: #7c68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2db3",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.20293,
    "h": 272.6
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#2D2DB3
secondary
#C7C775
accent
#E345E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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