#2A4484#2A4484

#2A4484 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.112 H 265.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2A4484
RGBrgb(42, 68, 132)
HSLhsl(223, 52%, 34%)
HSVhsv(223, 68%, 52%)
CMYKcmyk(68.2%, 48.5%, 0%, 48.2%)
CIE-LABlab(30.14, 12.55, -38.98)
CIE-LCHlch(30.14, 40.95, 287.85°)
OKLaboklab(40.21% -0.0095 -0.1116)
OKLCHoklch(40.21% 0.112 265.1)
XYZxyz(7.1854, 6.2917, 22.6611)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4484 #846A2A
analogous
#2A7184 #2A4484 #3D2A84
triadic
#2A4484 #842A44 #44842A
tetradic
#2A4484 #842A71 #846A2A #2A843D
square
#2A4484 #842A71 #846A2A #2A843D
split-complementary
#2A4484 #843D2A #71842A
monochromatic
#0C1427 #1B2C56 #2A4484 #395CB2 #5D7DCB

Accessibility & contrast

On white

9.30
#2A4484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A4484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4484
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4484#FFFFFF#000000##FFFFFF
##2A44841.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#114383
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4484;
/* rgb */ color: rgb(42, 68, 132);
/* oklch */ color: oklch(40.2% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e77a8',
    500: '#2a4484',
    950: '#000000',
  },
}
SCSS
$custom: #2a4484;
$custom-light: #6e77a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4484",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 132
  },
  "hsl": {
    "h": 222.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4021,
    "c": 0.11197,
    "h": 265.1
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#2A4484
secondary
#B19859
accent
#B24DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4484

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

Preview Lab → · Contrast checker → · Palette generator →

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