#2A3EA3#2A3EA3

#2A3EA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.164 H 269.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2A3EA3
RGBrgb(42, 62, 163)
HSLhsl(230, 59%, 40%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(74.2%, 62%, 0%, 36.1%)
CIE-LABlab(30.83, 28.42, -56.81)
CIE-LCHlch(30.83, 63.52, 296.58°)
OKLaboklab(41.48% -0.0022 -0.1641)
OKLCHoklch(41.48% 0.164 269.2)
XYZxyz(9.2861, 6.5809, 35.4241)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EA3 #A38F2A
analogous
#2A7AA3 #2A3EA3 #532AA3
triadic
#2A3EA3 #A32A3E #3EA32A
tetradic
#2A3EA3 #A32A7A #A38F2A #2AA353
square
#2A3EA3 #A32A7A #A38F2A #2AA353
split-complementary
#2A3EA3 #A3532A #7AA32A
monochromatic
#111942 #1D2B72 #2A3EA3 #3D55CD #6E80DA

Accessibility & contrast

On white

9.07
#2A3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EA3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EA3#FFFFFF#000000##FFFFFF
##2A3EA31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3ea3;
/* rgb */ color: rgb(42, 62, 163);
/* oklch */ color: oklch(41.5% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#7673bf',
    500: '#2a3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ea3;
$custom-light: #7673bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ea3",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 230.083,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.16408,
    "h": 269.2
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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