#2A4CA3#2A4CA3

#2A4CA3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.146 H 264.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A4CA3
RGBrgb(42, 76, 163)
HSLhsl(223, 59%, 40%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(74.2%, 53.4%, 0%, 36.1%)
CIE-LABlab(34.61, 19.06, -50.67)
CIE-LCHlch(34.61, 54.13, 290.61°)
OKLaboklab(44.31% -0.013 -0.1458)
OKLCHoklch(44.31% 0.146 264.9)
XYZxyz(10.1478, 8.3044, 35.7113)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CA3 #A3812A
analogous
#2A89A3 #2A4CA3 #442AA3
triadic
#2A4CA3 #A32A4C #4CA32A
tetradic
#2A4CA3 #A32A89 #A3812A #2AA344
square
#2A4CA3 #A32A89 #A3812A #2AA344
split-complementary
#2A4CA3 #A3442A #89A32A
monochromatic
#111F42 #1D3572 #2A4CA3 #3D66CD #6E8CDA

Accessibility & contrast

On white

7.89
#2A4CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A4CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CA3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CA3#FFFFFF#000000##FFFFFF
##2A4CA31.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ca3;
/* rgb */ color: rgb(42, 76, 163);
/* oklch */ color: oklch(44.3% 0.146 264.9);
Tailwind
colors: {
  custom: {
    50: '#757dbf',
    500: '#2a4ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ca3;
$custom-light: #757dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ca3",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 223.14,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.14641,
    "h": 264.9
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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