#2A3EA9#2A3EA9

#2A3EA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.172 H 269.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2A3EA9
RGBrgb(42, 62, 169)
HSLhsl(231, 60%, 41%)
HSVhsv(231, 75%, 66%)
CMYKcmyk(75.1%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.35, 30.66, -59.57)
CIE-LCHlch(31.35, 67.00, 297.23°)
OKLaboklab(42.02% -0.0023 -0.1722)
OKLCHoklch(42.02% 0.172 269.2)
XYZxyz(9.8364, 6.8010, 38.3227)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EA9 #A9952A
analogous
#2A7EA9 #2A3EA9 #562AA9
triadic
#2A3EA9 #A92A3E #3EA92A
tetradic
#2A3EA9 #A92A7E #A9952A #2AA956
square
#2A3EA9 #A92A7E #A9952A #2AA956
split-complementary
#2A3EA9 #A9562A #7EA92A
monochromatic
#121A47 #1E2C78 #2A3EA9 #4157D0 #7282DC

Accessibility & contrast

On white

8.90
#2A3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EA9
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EA9#FFFFFF#000000##FFFFFF
##2A3EA91.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3ea9;
/* rgb */ color: rgb(42, 62, 169);
/* oklch */ color: oklch(42.0% 0.172 269.2);
Tailwind
colors: {
  custom: {
    50: '#7773c4',
    500: '#2a3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ea9;
$custom-light: #7773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ea9",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 230.551,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.1722,
    "h": 269.2
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#2A3EA9
secondary
#C3B56C
accent
#CA44E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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