#2A3489#2A3489

#2A3489 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.141 H 272.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2A3489
RGBrgb(42, 52, 137)
HSLhsl(234, 53%, 35%)
HSVhsv(234, 69%, 54%)
CMYKcmyk(69.3%, 62%, 0%, 46.3%)
CIE-LABlab(26.02, 25.39, -48.74)
CIE-LCHlch(26.02, 54.96, 297.51°)
OKLaboklab(37.23% 0.006 -0.1405)
OKLCHoklch(37.23% 0.141 272.4)
XYZxyz(6.6967, 4.7537, 24.2267)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3489 #897F2A
analogous
#2A6489 #2A3489 #4F2A89
triadic
#2A3489 #892A34 #34892A
tetradic
#2A3489 #892A64 #897F2A #2A894F
square
#2A3489 #892A64 #897F2A #2A894F
split-complementary
#2A3489 #894F2A #64892A
monochromatic
#0D102B #1C225A #2A3489 #3846B8 #5F6BCE

Accessibility & contrast

On white

10.76
#2A3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3489
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3489#FFFFFF#000000##FFFFFF
##2A34891.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3489;
/* rgb */ color: rgb(42, 52, 137);
/* oklch */ color: oklch(37.2% 0.141 272.4);
Tailwind
colors: {
  custom: {
    50: '#706bac',
    500: '#2a3489',
    950: '#000000',
  },
}
SCSS
$custom: #2a3489;
$custom-light: #706bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3489",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 233.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.14063,
    "h": 272.4
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#2A3489
secondary
#B4AA5B
accent
#CD4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3489

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

Preview Lab → · Contrast checker → · Palette generator →

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