#2A4482#2A4482

#2A4482 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.109 H 264.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2A4482
RGBrgb(42, 68, 130)
HSLhsl(222, 51%, 34%)
HSVhsv(222, 68%, 51%)
CMYKcmyk(67.7%, 47.7%, 0%, 49%)
CIE-LABlab(30.00, 11.79, -37.95)
CIE-LCHlch(30.00, 39.74, 287.25°)
OKLaboklab(40.07% -0.0098 -0.1085)
OKLCHoklch(40.07% 0.109 264.8)
XYZxyz(7.0498, 6.2375, 21.9472)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4482 #82682A
analogous
#2A7082 #2A4482 #3C2A82
triadic
#2A4482 #822A44 #44822A
tetradic
#2A4482 #822A70 #82682A #2A823C
square
#2A4482 #822A70 #82682A #2A823C
split-complementary
#2A4482 #823C2A #70822A
monochromatic
#0C1425 #1B2C54 #2A4482 #395CB0 #5C7DCA

Accessibility & contrast

On white

9.34
#2A4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4482
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4482#FFFFFF#000000##FFFFFF
##2A44821.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4482;
/* rgb */ color: rgb(42, 68, 130);
/* oklch */ color: oklch(40.1% 0.109 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e77a7',
    500: '#2a4482',
    950: '#000000',
  },
}
SCSS
$custom: #2a4482;
$custom-light: #6e77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4482",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 222.273,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.10898,
    "h": 264.8
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#2A4482
secondary
#B09658
accent
#B14DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4482

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

Preview Lab → · Contrast checker → · Palette generator →

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