#2A4BBD#2A4BBD

#2A4BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 266.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2A4BBD
RGBrgb(42, 75, 189)
HSLhsl(227, 64%, 45%)
HSVhsv(227, 78%, 74%)
CMYKcmyk(77.8%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.36, 29.61, -63.24)
CIE-LCHlch(36.36, 69.83, 295.09°)
OKLaboklab(46.26% -0.0109 -0.1828)
OKLCHoklch(46.26% 0.183 266.6)
XYZxyz(12.6530, 9.1971, 49.2426)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BBD #BD9C2A
analogous
#2A94BD #2A4BBD #532ABD
triadic
#2A4BBD #BD2A4B #4BBD2A
tetradic
#2A4BBD #BD2A94 #BD9C2A #2ABD53
square
#2A4BBD #BD2A94 #BD9C2A #2ABD53
split-complementary
#2A4BBD #BD532A #94BD2A
monochromatic
#142359 #1F378B #2A4BBD #4D6CD7 #7F95E3

Accessibility & contrast

On white

7.39
#2A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2A4BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BBD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BBD#FFFFFF#000000##FFFFFF
##2A4BBD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4bbd;
/* rgb */ color: rgb(42, 75, 189);
/* oklch */ color: oklch(46.3% 0.183 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b7cd2',
    500: '#2a4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bbd;
$custom-light: #7b7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bbd",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 226.531,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46259,
    "c": 0.18311,
    "h": 266.6
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#2A4BBD
secondary
#CBB878
accent
#C241E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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