#2A3589#2A3589

#2A3589 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.139 H 272.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2A3589
RGBrgb(42, 53, 137)
HSLhsl(233, 53%, 35%)
HSVhsv(233, 69%, 54%)
CMYKcmyk(69.3%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.29, 24.71, -48.31)
CIE-LCHlch(26.29, 54.26, 297.09°)
OKLaboklab(37.43% 0.0051 -0.1392)
OKLCHoklch(37.43% 0.139 272.1)
XYZxyz(6.7418, 4.8440, 24.2417)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3589 #897E2A
analogous
#2A6489 #2A3589 #4F2A89
triadic
#2A3589 #892A35 #35892A
tetradic
#2A3589 #892A64 #897E2A #2A894F
square
#2A3589 #892A64 #897E2A #2A894F
split-complementary
#2A3589 #894F2A #64892A
monochromatic
#0D112B #1C235A #2A3589 #3847B8 #5F6CCE

Accessibility & contrast

On white

10.67
#2A3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A3589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3589
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3589#FFFFFF#000000##FFFFFF
##2A35891.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a3589;
/* rgb */ color: rgb(42, 53, 137);
/* oklch */ color: oklch(37.4% 0.139 272.1);
Tailwind
colors: {
  custom: {
    50: '#706cac',
    500: '#2a3589',
    950: '#000000',
  },
}
SCSS
$custom: #2a3589;
$custom-light: #706cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3589",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 233.053,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37425,
    "c": 0.13932,
    "h": 272.1
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3589

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

Preview Lab → · Contrast checker → · Palette generator →

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