#2A4CA5#2A4CA5

#2A4CA5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.149 H 265.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2A4CA5
RGBrgb(42, 76, 165)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 75%, 65%)
CMYKcmyk(74.5%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.76, 19.83, -51.63)
CIE-LCHlch(34.76, 55.31, 291.01°)
OKLaboklab(44.47% -0.0128 -0.1487)
OKLCHoklch(44.47% 0.149 265.1)
XYZxyz(10.3284, 8.3766, 36.6625)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CA5 #A5832A
analogous
#2A89A5 #2A4CA5 #462AA5
triadic
#2A4CA5 #A52A4C #4CA52A
tetradic
#2A4CA5 #A52A89 #A5832A #2AA546
square
#2A4CA5 #A52A89 #A5832A #2AA546
split-complementary
#2A4CA5 #A5462A #89A52A
monochromatic
#111F43 #1E3674 #2A4CA5 #3E66CE #6F8DDA

Accessibility & contrast

On white

7.85
#2A4CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A4CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CA5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CA5#FFFFFF#000000##FFFFFF
##2A4CA51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4ca5;
/* rgb */ color: rgb(42, 76, 165);
/* oklch */ color: oklch(44.5% 0.149 265.1);
Tailwind
colors: {
  custom: {
    50: '#757dc0',
    500: '#2a4ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ca5;
$custom-light: #757dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ca5",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 223.415,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.14921,
    "h": 265.1
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#2A4CA5
secondary
#C1A969
accent
#B745E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A4CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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