#2A4BBA#2A4BBA

#2A4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 266.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2A4BBA
RGBrgb(42, 75, 186)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 77%, 73%)
CMYKcmyk(77.4%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.12, 28.48, -61.88)
CIE-LCHlch(36.12, 68.12, 294.72°)
OKLaboklab(46% -0.011 -0.1788)
OKLCHoklch(46% 0.179 266.5)
XYZxyz(12.3307, 9.0682, 47.5453)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BBA #BA992A
analogous
#2A93BA #2A4BBA #512ABA
triadic
#2A4BBA #BA2A4B #4BBA2A
tetradic
#2A4BBA #BA2A93 #BA992A #2ABA51
square
#2A4BBA #BA2A93 #BA992A #2ABA51
split-complementary
#2A4BBA #BA512A #93BA2A
monochromatic
#132356 #1F3788 #2A4BBA #4B6BD6 #7D94E2

Accessibility & contrast

On white

7.46
#2A4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2A4BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BBA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BBA#FFFFFF#000000##FFFFFF
##2A4BBA1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a4bba;
/* rgb */ color: rgb(42, 75, 186);
/* oklch */ color: oklch(46.0% 0.179 266.5);
Tailwind
colors: {
  custom: {
    50: '#7a7cd0',
    500: '#2a4bba',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bba;
$custom-light: #7a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bba",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 226.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.17913,
    "h": 266.5
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#2A4BBA
secondary
#CAB776
accent
#C042E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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