#2A3DC5#2A3DC5

#2A3DC5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.5% C 0.209 H 269.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2A3DC5
RGBrgb(42, 61, 197)
HSLhsl(233, 65%, 47%)
HSVhsv(233, 79%, 77%)
CMYKcmyk(78.7%, 69%, 0%, 22.7%)
CIE-LABlab(33.69, 41.43, -72.31)
CIE-LCHlch(33.69, 83.34, 299.81°)
OKLaboklab(44.51% -0.0036 -0.2094)
OKLCHoklch(44.51% 0.209 269)
XYZxyz(12.6982, 7.8595, 53.6603)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DC5 #C5B22A
analogous
#2A8BC5 #2A3DC5 #652AC5
triadic
#2A3DC5 #C52A3D #3DC52A
tetradic
#2A3DC5 #C52A8B #C5B22A #2AC565
square
#2A3DC5 #C52A8B #C5B22A #2AC565
split-complementary
#2A3DC5 #C5652A #8BC52A
monochromatic
#141E60 #1F2D93 #2A3DC5 #5263DA #8590E5

Accessibility & contrast

On white

8.16
#2A3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A3DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DC5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DC5#FFFFFF#000000##FFFFFF
##2A3DC51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a3dc5;
/* rgb */ color: rgb(42, 61, 197);
/* oklch */ color: oklch(44.5% 0.209 269.0);
Tailwind
colors: {
  custom: {
    50: '#7e73d8',
    500: '#2a3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3dc5;
$custom-light: #7e73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3dc5",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 232.645,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.20944,
    "h": 269
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#2A3DC5
secondary
#CEC47D
accent
#D340E8
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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