#2A3499#2A3499

#2A3499 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.163 H 271.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A3499
RGBrgb(42, 52, 153)
HSLhsl(235, 57%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(72.5%, 66%, 0%, 40%)
CIE-LABlab(27.43, 31.30, -56.31)
CIE-LCHlch(27.43, 64.42, 299.07°)
OKLaboklab(38.7% 0.0052 -0.1627)
OKLCHoklch(38.7% 0.163 271.8)
XYZxyz(7.9307, 5.2473, 30.7257)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3499 #998F2A
analogous
#2A6B99 #2A3499 #582A99
triadic
#2A3499 #992A34 #34992A
tetradic
#2A3499 #992A6B #998F2A #2A9958
square
#2A3499 #992A6B #998F2A #2A9958
split-complementary
#2A3499 #99582A #6B992A
monochromatic
#101339 #1D2469 #2A3499 #3845C8 #6872D6

Accessibility & contrast

On white

10.25
#2A3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3499
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3499#FFFFFF#000000##FFFFFF
##2A34991.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3499;
/* rgb */ color: rgb(42, 52, 153);
/* oklch */ color: oklch(38.7% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#746bb8',
    500: '#2a3499',
    950: '#000000',
  },
}
SCSS
$custom: #2a3499;
$custom-light: #746bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3499",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 234.595,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.387,
    "c": 0.16277,
    "h": 271.8
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#2A3499
secondary
#BCB463
accent
#D248E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A3499

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

Preview Lab → · Contrast checker → · Palette generator →

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