#2A3B84#2A3B84

#2A3B84 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.124 H 269.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3B84
RGBrgb(42, 59, 132)
HSLhsl(229, 52%, 34%)
HSVhsv(229, 68%, 52%)
CMYKcmyk(68.2%, 55.3%, 0%, 48.2%)
CIE-LABlab(27.53, 18.72, -43.17)
CIE-LCHlch(27.53, 47.06, 293.44°)
OKLaboklab(38.23% -0.0005 -0.124)
OKLCHoklch(38.23% 0.124 269.8)
XYZxyz(6.6823, 5.2855, 22.4934)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B84 #84732A
analogous
#2A6884 #2A3B84 #462A84
triadic
#2A3B84 #842A3B #3B842A
tetradic
#2A3B84 #842A68 #84732A #2A8446
square
#2A3B84 #842A68 #84732A #2A8446
split-complementary
#2A3B84 #84462A #68842A
monochromatic
#0C1127 #1B2656 #2A3B84 #3950B2 #5D72CB

Accessibility & contrast

On white

10.21
#2A3B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A3B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B84
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B84#FFFFFF#000000##FFFFFF
##2A3B841.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3b84;
/* rgb */ color: rgb(42, 59, 132);
/* oklch */ color: oklch(38.2% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f70a8',
    500: '#2a3b84',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b84;
$custom-light: #6f70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b84",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 228.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.12404,
    "h": 269.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#2A3B84
secondary
#B1A059
accent
#C04DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3B84

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

Preview Lab → · Contrast checker → · Palette generator →

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