#2A4CBD#2A4CBD

#2A4CBD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.182 H 266.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2A4CBD
RGBrgb(42, 76, 189)
HSLhsl(226, 64%, 45%)
HSVhsv(226, 78%, 74%)
CMYKcmyk(77.8%, 59.8%, 0%, 25.9%)
CIE-LABlab(36.62, 28.95, -62.82)
CIE-LCHlch(36.62, 69.17, 294.75°)
OKLaboklab(46.45% -0.0116 -0.1815)
OKLCHoklch(46.45% 0.182 266.4)
XYZxyz(12.7214, 9.3338, 49.2654)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CBD #BD9B2A
analogous
#2A96BD #2A4CBD #512ABD
triadic
#2A4CBD #BD2A4C #4CBD2A
tetradic
#2A4CBD #BD2A96 #BD9B2A #2ABD51
square
#2A4CBD #BD2A96 #BD9B2A #2ABD51
split-complementary
#2A4CBD #BD512A #96BD2A
monochromatic
#142459 #1F388B #2A4CBD #4D6DD7 #7F96E3

Accessibility & contrast

On white

7.32
#2A4CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A4CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CBD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CBD#FFFFFF#000000##FFFFFF
##2A4CBD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4cbd;
/* rgb */ color: rgb(42, 76, 189);
/* oklch */ color: oklch(46.5% 0.182 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7dd2',
    500: '#2a4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2a4cbd;
$custom-light: #7b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4cbd",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 226.122,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.1819,
    "h": 266.4
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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