#2A2DB3#2A2DB3

#2A2DB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.204 H 271.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2A2DB3
RGBrgb(42, 45, 179)
HSLhsl(239, 62%, 43%)
HSVhsv(239, 77%, 70%)
CMYKcmyk(76.5%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.44, 44.71, -70.34)
CIE-LCHlch(28.44, 83.34, 302.44°)
OKLaboklab(40.2% 0.0058 -0.2036)
OKLCHoklch(40.2% 0.204 271.6)
XYZxyz(10.0272, 5.6226, 43.1959)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2DB3 #B3B02A
analogous
#2A71B3 #2A2DB3 #6B2AB3
triadic
#2A2DB3 #B32A2D #2DB32A
tetradic
#2A2DB3 #B32A71 #B3B02A #2AB36B
square
#2A2DB3 #B32A71 #B3B02A #2AB36B
split-complementary
#2A2DB3 #B36B2A #71B32A
monochromatic
#131450 #1E2181 #2A2DB3 #464AD4 #787ADF

Accessibility & contrast

On white

9.88
#2A2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2DB3
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2DB3#FFFFFF#000000##FFFFFF
##2A2DB31.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2db3;
/* rgb */ color: rgb(42, 45, 179);
/* oklch */ color: oklch(40.2% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b68cb',
    500: '#2a2db3',
    950: '#000000',
  },
}
SCSS
$custom: #2a2db3;
$custom-light: #7b68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2db3",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 238.686,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.20371,
    "h": 271.6
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#2A2DB3
secondary
#C7C572
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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