#2A2DA0#2A2DA0

#2A2DA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.180 H 272.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A2DA0
RGBrgb(42, 45, 160)
HSLhsl(238, 58%, 40%)
HSVhsv(238, 74%, 63%)
CMYKcmyk(73.8%, 71.9%, 0%, 37.3%)
CIE-LABlab(26.47, 38.22, -62.15)
CIE-LCHlch(26.47, 72.96, 301.59°)
OKLaboklab(38.21% 0.0089 -0.1798)
OKLCHoklch(38.21% 0.18 272.8)
XYZxyz(8.2363, 4.9062, 33.7638)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2DA0 #A09D2A
analogous
#2A68A0 #2A2DA0 #622AA0
triadic
#2A2DA0 #A02A2D #2DA02A
tetradic
#2A2DA0 #A02A68 #A09D2A #2AA062
square
#2A2DA0 #A02A68 #A09D2A #2AA062
split-complementary
#2A2DA0 #A0622A #68A02A
monochromatic
#11123F #1D1F70 #2A2DA0 #3C3FCC #6C6FD8

Accessibility & contrast

On white

10.60
#2A2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2DA0
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2DA0#FFFFFF#000000##FFFFFF
##2A2DA01.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a2da0;
/* rgb */ color: rgb(42, 45, 160);
/* oklch */ color: oklch(38.2% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#7667bd',
    500: '#2a2da0',
    950: '#000000',
  },
}
SCSS
$custom: #2a2da0;
$custom-light: #7667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2da0",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 238.475,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.18002,
    "h": 272.8
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#2A2DA0
secondary
#BFBD67
accent
#DE46E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2A2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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