#2A4DB1#2A4DB1

#2A4DB1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.165 H 265.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2A4DB1
RGBrgb(42, 77, 177)
HSLhsl(224, 62%, 43%)
HSVhsv(224, 76%, 69%)
CMYKcmyk(76.3%, 56.5%, 0%, 30.6%)
CIE-LABlab(35.93, 23.75, -56.87)
CIE-LCHlch(35.93, 61.63, 292.67°)
OKLaboklab(45.64% -0.0127 -0.164)
OKLCHoklch(45.64% 0.165 265.6)
XYZxyz(11.5417, 8.9730, 42.7101)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DB1 #B18E2A
analogous
#2A91B1 #2A4DB1 #4A2AB1
triadic
#2A4DB1 #B12A4D #4DB12A
tetradic
#2A4DB1 #B12A91 #B18E2A #2AB14A
square
#2A4DB1 #B12A91 #B18E2A #2AB14A
split-complementary
#2A4DB1 #B14A2A #91B12A
monochromatic
#13224E #1E3780 #2A4DB1 #456AD3 #7792DF

Accessibility & contrast

On white

7.51
#2A4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A4DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DB1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DB1#FFFFFF#000000##FFFFFF
##2A4DB11.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4db1;
/* rgb */ color: rgb(42, 77, 177);
/* oklch */ color: oklch(45.6% 0.165 265.6);
Tailwind
colors: {
  custom: {
    50: '#787ec9',
    500: '#2a4db1',
    950: '#000000',
  },
}
SCSS
$custom: #2a4db1;
$custom-light: #787ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4db1",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 224.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.16452,
    "h": 265.6
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#2A4DB1
secondary
#C6B070
accent
#BB43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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