#2A4BA2#2A4BA2

#2A4BA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.146 H 265.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2A4BA2
RGBrgb(42, 75, 162)
HSLhsl(224, 59%, 40%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(74.1%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.26, 19.34, -50.64)
CIE-LCHlch(34.26, 54.21, 290.91°)
OKLaboklab(44.02% -0.0123 -0.1458)
OKLCHoklch(44.02% 0.146 265.2)
XYZxyz(9.9902, 8.1320, 35.2185)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BA2 #A2812A
analogous
#2A87A2 #2A4BA2 #452AA2
triadic
#2A4BA2 #A22A4B #4BA22A
tetradic
#2A4BA2 #A22A87 #A2812A #2AA245
square
#2A4BA2 #A22A87 #A2812A #2AA245
split-complementary
#2A4BA2 #A2452A #87A22A
monochromatic
#111E41 #1D3471 #2A4BA2 #3D64CD #6D8BD9

Accessibility & contrast

On white

8.00
#2A4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BA2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BA2#FFFFFF#000000##FFFFFF
##2A4BA21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ba2;
/* rgb */ color: rgb(42, 75, 162);
/* oklch */ color: oklch(44.0% 0.146 265.2);
Tailwind
colors: {
  custom: {
    50: '#747cbe',
    500: '#2a4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ba2;
$custom-light: #747cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ba2",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 223.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.14628,
    "h": 265.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#2A4BA2
secondary
#C0A868
accent
#B746E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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