#2A3EB1#2A3EB1

#2A3EB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.183 H 269.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A3EB1
RGBrgb(42, 62, 177)
HSLhsl(231, 62%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(76.3%, 65%, 0%, 30.6%)
CIE-LABlab(32.06, 33.61, -63.19)
CIE-LCHlch(32.06, 71.57, 298.01°)
OKLaboklab(42.76% -0.0027 -0.1828)
OKLCHoklch(42.76% 0.183 269.2)
XYZxyz(10.6105, 7.1107, 42.3997)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EB1 #B19D2A
analogous
#2A81B1 #2A3EB1 #592AB1
triadic
#2A3EB1 #B12A3E #3EB12A
tetradic
#2A3EB1 #B12A81 #B19D2A #2AB159
square
#2A3EB1 #B12A81 #B19D2A #2AB159
split-complementary
#2A3EB1 #B1592A #81B12A
monochromatic
#131B4E #1E2D80 #2A3EB1 #455AD3 #7786DF

Accessibility & contrast

On white

8.67
#2A3EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A3EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EB1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EB1#FFFFFF#000000##FFFFFF
##2A3EB11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3eb1;
/* rgb */ color: rgb(42, 62, 177);
/* oklch */ color: oklch(42.8% 0.183 269.2);
Tailwind
colors: {
  custom: {
    50: '#7973c9',
    500: '#2a3eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eb1;
$custom-light: #7973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eb1",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 231.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.1828,
    "h": 269.2
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#2A3EB1
secondary
#C6BA70
accent
#CD43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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