#2A4BA3#2A4BA3

#2A4BA3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.148 H 265.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2A4BA3
RGBrgb(42, 75, 163)
HSLhsl(224, 59%, 40%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(74.2%, 54%, 0%, 36.1%)
CIE-LABlab(34.33, 19.73, -51.12)
CIE-LCHlch(34.33, 54.80, 291.10°)
OKLaboklab(44.1% -0.0122 -0.1472)
OKLCHoklch(44.1% 0.148 265.3)
XYZxyz(10.0795, 8.1677, 35.6885)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BA3 #A3822A
analogous
#2A88A3 #2A4BA3 #452AA3
triadic
#2A4BA3 #A32A4B #4BA32A
tetradic
#2A4BA3 #A32A88 #A3822A #2AA345
square
#2A4BA3 #A32A88 #A3822A #2AA345
split-complementary
#2A4BA3 #A3452A #88A32A
monochromatic
#111E42 #1D3572 #2A4BA3 #3D64CD #6E8BDA

Accessibility & contrast

On white

7.97
#2A4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4BA3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BA3#FFFFFF#000000##FFFFFF
##2A4BA31.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ba3;
/* rgb */ color: rgb(42, 75, 163);
/* oklch */ color: oklch(44.1% 0.148 265.3);
Tailwind
colors: {
  custom: {
    50: '#757cbf',
    500: '#2a4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ba3;
$custom-light: #757cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ba3",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 223.636,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.14767,
    "h": 265.3
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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