#2A4CA2#2A4CA2

#2A4CA2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.145 H 264.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2A4CA2
RGBrgb(42, 76, 162)
HSLhsl(223, 59%, 40%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(74.1%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.54, 18.67, -50.19)
CIE-LCHlch(34.54, 53.55, 290.41°)
OKLaboklab(44.23% -0.0131 -0.1444)
OKLCHoklch(44.23% 0.145 264.8)
XYZxyz(10.0586, 8.2687, 35.2413)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CA2 #A2802A
analogous
#2A88A2 #2A4CA2 #442AA2
triadic
#2A4CA2 #A22A4C #4CA22A
tetradic
#2A4CA2 #A22A88 #A2802A #2AA244
square
#2A4CA2 #A22A88 #A2802A #2AA244
split-complementary
#2A4CA2 #A2442A #88A22A
monochromatic
#111E41 #1D3571 #2A4CA2 #3D65CD #6D8CD9

Accessibility & contrast

On white

7.91
#2A4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A4CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CA2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CA2#FFFFFF#000000##FFFFFF
##2A4CA21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ca2;
/* rgb */ color: rgb(42, 76, 162);
/* oklch */ color: oklch(44.2% 0.145 264.8);
Tailwind
colors: {
  custom: {
    50: '#747dbe',
    500: '#2a4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ca2;
$custom-light: #747dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ca2",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 223,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4423,
    "c": 0.145,
    "h": 264.8
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#2A4CA2
secondary
#C0A768
accent
#B646E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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