#2A4BB3#2A4BB3

#2A4BB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.170 H 266.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4BB3
RGBrgb(42, 75, 179)
HSLhsl(226, 62%, 43%)
HSVhsv(226, 77%, 70%)
CMYKcmyk(76.5%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.55, 25.84, -58.67)
CIE-LCHlch(35.55, 64.10, 293.77°)
OKLaboklab(45.4% -0.0112 -0.1694)
OKLCHoklch(45.4% 0.17 266.2)
XYZxyz(11.6048, 8.7778, 43.7218)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BB3 #B3922A
analogous
#2A8FB3 #2A4BB3 #4D2AB3
triadic
#2A4BB3 #B32A4B #4BB32A
tetradic
#2A4BB3 #B32A8F #B3922A #2AB34D
square
#2A4BB3 #B32A8F #B3922A #2AB34D
split-complementary
#2A4BB3 #B34D2A #8FB32A
monochromatic
#132150 #1E3681 #2A4BB3 #4669D4 #7891DF

Accessibility & contrast

On white

7.62
#2A4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A4BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BB3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BB3#FFFFFF#000000##FFFFFF
##2A4BB31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4bb3;
/* rgb */ color: rgb(42, 75, 179);
/* oklch */ color: oklch(45.4% 0.170 266.2);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#2a4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bb3;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bb3",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 225.547,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.16973,
    "h": 266.2
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#2A4BB3
secondary
#C7B372
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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