#2A3EA2#2A3EA2

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

Color values

HEX#2A3EA2
RGBrgb(42, 62, 162)
HSLhsl(230, 59%, 40%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(74.1%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.75, 28.04, -56.34)
CIE-LCHlch(30.75, 62.94, 296.46°)
OKLaboklab(41.39% -0.0022 -0.1627)
OKLCHoklch(41.39% 0.163 269.2)
XYZxyz(9.1968, 6.5452, 34.9541)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EA2 #A28E2A
analogous
#2A7AA2 #2A3EA2 #522AA2
triadic
#2A3EA2 #A22A3E #3EA22A
tetradic
#2A3EA2 #A22A7A #A28E2A #2AA252
square
#2A3EA2 #A22A7A #A28E2A #2AA252
split-complementary
#2A3EA2 #A2522A #7AA22A
monochromatic
#111941 #1D2B71 #2A3EA2 #3D55CD #6D7FD9

Accessibility & contrast

On white

9.09
#2A3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EA2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EA2#FFFFFF#000000##FFFFFF
##2A3EA21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3ea2;
/* rgb */ color: rgb(42, 62, 162);
/* oklch */ color: oklch(41.4% 0.163 269.2);
Tailwind
colors: {
  custom: {
    50: '#7573be',
    500: '#2a3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ea2;
$custom-light: #7573be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ea2",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 230,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.16272,
    "h": 269.2
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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