#2A4EB5#2A4EB5

#2A4EB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.169 H 265.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2A4EB5
RGBrgb(42, 78, 181)
HSLhsl(224, 62%, 44%)
HSVhsv(224, 77%, 71%)
CMYKcmyk(76.8%, 56.9%, 0%, 29%)
CIE-LABlab(36.51, 24.61, -58.29)
CIE-LCHlch(36.51, 63.27, 292.89°)
OKLaboklab(46.17% -0.0132 -0.1682)
OKLCHoklch(46.17% 0.169 265.5)
XYZxyz(12.0168, 9.2759, 44.8642)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EB5 #B5912A
analogous
#2A93B5 #2A4EB5 #4B2AB5
triadic
#2A4EB5 #B52A4E #4EB52A
tetradic
#2A4EB5 #B52A93 #B5912A #2AB54B
square
#2A4EB5 #B52A93 #B5912A #2AB54B
split-complementary
#2A4EB5 #B54B2A #93B52A
monochromatic
#132352 #1E3983 #2A4EB5 #486CD4 #7994E0

Accessibility & contrast

On white

7.35
#2A4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A4EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4EB5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EB5#FFFFFF#000000##FFFFFF
##2A4EB51.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4eb5;
/* rgb */ color: rgb(42, 78, 181);
/* oklch */ color: oklch(46.2% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#797fcc',
    500: '#2a4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4eb5;
$custom-light: #797fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4eb5",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 224.46,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.16873,
    "h": 265.5
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#2A4EB5
secondary
#C8B273
accent
#BB42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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