#2A4BB0#2A4BB0

#2A4BB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.166 H 266.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4BB0
RGBrgb(42, 75, 176)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(76.1%, 57.4%, 0%, 31%)
CIE-LABlab(35.32, 24.70, -57.27)
CIE-LCHlch(35.32, 62.37, 293.33°)
OKLaboklab(45.15% -0.0113 -0.1653)
OKLCHoklch(45.15% 0.166 266.1)
XYZxyz(11.3046, 8.6577, 42.1412)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BB0 #B08F2A
analogous
#2A8EB0 #2A4BB0 #4C2AB0
triadic
#2A4BB0 #B02A4B #4BB02A
tetradic
#2A4BB0 #B02A8E #B08F2A #2AB04C
square
#2A4BB0 #B02A8E #B08F2A #2AB04C
split-complementary
#2A4BB0 #B04C2A #8EB02A
monochromatic
#12214D #1E367F #2A4BB0 #4568D3 #7690DE

Accessibility & contrast

On white

7.69
#2A4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A4BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BB0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BB0#FFFFFF#000000##FFFFFF
##2A4BB01.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4bb0;
/* rgb */ color: rgb(42, 75, 176);
/* oklch */ color: oklch(45.2% 0.166 266.1);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2a4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bb0;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bb0",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 225.224,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.16566,
    "h": 266.1
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#2A4BB0
secondary
#C6B170
accent
#BD43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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