#2A3584#2A3584

#2A3584 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.132 H 272.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2A3584
RGBrgb(42, 53, 132)
HSLhsl(233, 52%, 34%)
HSVhsv(233, 68%, 52%)
CMYKcmyk(68.2%, 59.8%, 0%, 48.2%)
CIE-LABlab(25.87, 22.83, -45.86)
CIE-LCHlch(25.87, 51.23, 296.47°)
OKLaboklab(36.99% 0.0051 -0.132)
OKLCHoklch(36.99% 0.132 272.2)
XYZxyz(6.3914, 4.7038, 22.3964)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3584 #84792A
analogous
#2A6284 #2A3584 #4C2A84
triadic
#2A3584 #842A35 #35842A
tetradic
#2A3584 #842A62 #84792A #2A844C
square
#2A3584 #842A62 #84792A #2A844C
split-complementary
#2A3584 #844C2A #62842A
monochromatic
#0C1027 #1B2256 #2A3584 #3948B2 #5D6ACB

Accessibility & contrast

On white

10.82
#2A3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A3584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3584
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3584#FFFFFF#000000##FFFFFF
##2A35841.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3584;
/* rgb */ color: rgb(42, 53, 132);
/* oklch */ color: oklch(37.0% 0.132 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca8',
    500: '#2a3584',
    950: '#000000',
  },
}
SCSS
$custom: #2a3584;
$custom-light: #6f6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3584",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 232.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3699,
    "c": 0.13214,
    "h": 272.2
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#2A3584
secondary
#B1A659
accent
#CA4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3584

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

Preview Lab → · Contrast checker → · Palette generator →

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