#2A3EA1#2A3EA1

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

Color values

HEX#2A3EA1
RGBrgb(42, 62, 161)
HSLhsl(230, 59%, 40%)
HSVhsv(230, 74%, 63%)
CMYKcmyk(73.9%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.66, 27.67, -55.88)
CIE-LCHlch(30.66, 62.35, 296.34°)
OKLaboklab(41.3% -0.0022 -0.1613)
OKLCHoklch(41.3% 0.161 269.2)
XYZxyz(9.1083, 6.5097, 34.4878)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EA1 #A18D2A
analogous
#2A7AA1 #2A3EA1 #522AA1
triadic
#2A3EA1 #A12A3E #3EA12A
tetradic
#2A3EA1 #A12A7A #A18D2A #2AA152
square
#2A3EA1 #A12A7A #A18D2A #2AA152
split-complementary
#2A3EA1 #A1522A #7AA12A
monochromatic
#111940 #1D2B70 #2A3EA1 #3C54CC #6D7FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3EA1#FFFFFF#000000##FFFFFF
##2A3EA11.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)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ea1;
/* rgb */ color: rgb(42, 62, 161);
/* oklch */ color: oklch(41.3% 0.161 269.2);
Tailwind
colors: {
  custom: {
    50: '#7573be',
    500: '#2a3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ea1;
$custom-light: #7573be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ea1",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 229.916,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.413,
    "c": 0.16135,
    "h": 269.2
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#2A3EA1
secondary
#C0B167
accent
#C846E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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