#2A4584#2A4584

#2A4584 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.111 H 264.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2A4584
RGBrgb(42, 69, 132)
HSLhsl(222, 52%, 34%)
HSVhsv(222, 68%, 52%)
CMYKcmyk(68.2%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.43, 11.87, -38.50)
CIE-LCHlch(30.43, 40.29, 287.14°)
OKLaboklab(40.44% -0.0105 -0.1101)
OKLCHoklch(40.44% 0.111 264.5)
XYZxyz(7.2464, 6.4137, 22.6814)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4584 #84692A
analogous
#2A7284 #2A4584 #3C2A84
triadic
#2A4584 #842A45 #45842A
tetradic
#2A4584 #842A72 #84692A #2A843C
square
#2A4584 #842A72 #84692A #2A843C
split-complementary
#2A4584 #843C2A #72842A
monochromatic
#0C1427 #1B2D56 #2A4584 #395DB2 #5D7ECB

Accessibility & contrast

On white

9.20
#2A4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4584
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4584#FFFFFF#000000##FFFFFF
##2A45841.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4584;
/* rgb */ color: rgb(42, 69, 132);
/* oklch */ color: oklch(40.4% 0.111 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e78a8',
    500: '#2a4584',
    950: '#000000',
  },
}
SCSS
$custom: #2a4584;
$custom-light: #6e78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4584",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 222,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.11064,
    "h": 264.5
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#2A4584
secondary
#B19759
accent
#B04DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4584

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

Preview Lab → · Contrast checker → · Palette generator →

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