#2A3484#2A3484

#2A3484 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.133 H 272.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2A3484
RGBrgb(42, 52, 132)
HSLhsl(233, 52%, 34%)
HSVhsv(233, 68%, 52%)
CMYKcmyk(68.2%, 60.6%, 0%, 48.2%)
CIE-LABlab(25.60, 23.52, -46.30)
CIE-LCHlch(25.60, 51.93, 296.93°)
OKLaboklab(36.79% 0.006 -0.1333)
OKLCHoklch(36.79% 0.133 272.6)
XYZxyz(6.3463, 4.6136, 22.3814)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3484 #847A2A
analogous
#2A6184 #2A3484 #4D2A84
triadic
#2A3484 #842A34 #34842A
tetradic
#2A3484 #842A61 #847A2A #2A844D
square
#2A3484 #842A61 #847A2A #2A844D
split-complementary
#2A3484 #844D2A #61842A
monochromatic
#0C0F27 #1B2256 #2A3484 #3946B2 #5D69CB

Accessibility & contrast

On white

10.92
#2A3484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A3484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3484
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3484#FFFFFF#000000##FFFFFF
##2A34841.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3484;
/* rgb */ color: rgb(42, 52, 132);
/* oklch */ color: oklch(36.8% 0.133 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f6ba8',
    500: '#2a3484',
    950: '#000000',
  },
}
SCSS
$custom: #2a3484;
$custom-light: #6f6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3484",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 132
  },
  "hsl": {
    "h": 233.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.13348,
    "h": 272.6
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#2A3484
secondary
#B1A759
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3484

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

Preview Lab → · Contrast checker → · Palette generator →

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