#2A3DA4#2A3DA4

#2A3DA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.167 H 269.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2A3DA4
RGBrgb(42, 61, 164)
HSLhsl(231, 59%, 40%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(74.4%, 62.8%, 0%, 35.7%)
CIE-LABlab(30.66, 29.45, -57.69)
CIE-LCHlch(30.66, 64.77, 297.05°)
OKLaboklab(41.38% -0.0015 -0.1667)
OKLCHoklch(41.38% 0.167 269.5)
XYZxyz(9.3221, 6.5091, 35.8798)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DA4 #A4912A
analogous
#2A7AA4 #2A3DA4 #542AA4
triadic
#2A3DA4 #A42A3D #3DA42A
tetradic
#2A3DA4 #A42A7A #A4912A #2AA454
square
#2A3DA4 #A42A7A #A4912A #2AA454
split-complementary
#2A3DA4 #A4542A #7AA42A
monochromatic
#111943 #1E2B73 #2A3DA4 #3E54CD #6E7FDA

Accessibility & contrast

On white

9.12
#2A3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DA4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DA4#FFFFFF#000000##FFFFFF
##2A3DA41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3da4;
/* rgb */ color: rgb(42, 61, 164);
/* oklch */ color: oklch(41.4% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#7672c0',
    500: '#2a3da4',
    950: '#000000',
  },
}
SCSS
$custom: #2a3da4;
$custom-light: #7672c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3da4",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 230.656,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.16668,
    "h": 269.5
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#2A3DA4
secondary
#C1B369
accent
#CA45E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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