#2A4384#2A4384

#2A4384 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.113 H 265.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2A4384
RGBrgb(42, 67, 132)
HSLhsl(223, 52%, 34%)
HSVhsv(223, 68%, 52%)
CMYKcmyk(68.2%, 49.2%, 0%, 48.2%)
CIE-LABlab(29.84, 13.23, -39.45)
CIE-LCHlch(29.84, 41.61, 288.54°)
OKLaboklab(39.98% -0.0085 -0.113)
OKLCHoklch(39.98% 0.113 265.7)
XYZxyz(7.1254, 6.1718, 22.6411)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4384 #846B2A
analogous
#2A7084 #2A4384 #3E2A84
triadic
#2A4384 #842A43 #43842A
tetradic
#2A4384 #842A70 #846B2A #2A843E
square
#2A4384 #842A70 #846B2A #2A843E
split-complementary
#2A4384 #843E2A #70842A
monochromatic
#0C1427 #1B2B56 #2A4384 #395BB2 #5D7CCB

Accessibility & contrast

On white

9.40
#2A4384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4384
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4384#FFFFFF#000000##FFFFFF
##2A43841.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B86
Deuteranopia (green-blind)
#0E4283
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4384;
/* rgb */ color: rgb(42, 67, 132);
/* oklch */ color: oklch(40.0% 0.113 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e76a8',
    500: '#2a4384',
    950: '#000000',
  },
}
SCSS
$custom: #2a4384;
$custom-light: #6e76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4384",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 223.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.11329,
    "h": 265.7
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#2A4384
secondary
#B19959
accent
#B44DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4384

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

Preview Lab → · Contrast checker → · Palette generator →

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