#2A4CB3#2A4CB3

#2A4CB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.168 H 266.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2A4CB3
RGBrgb(42, 76, 179)
HSLhsl(225, 62%, 43%)
HSVhsv(225, 77%, 70%)
CMYKcmyk(76.5%, 57.5%, 0%, 29.8%)
CIE-LABlab(35.82, 25.18, -58.23)
CIE-LCHlch(35.82, 63.44, 293.38°)
OKLaboklab(45.6% -0.0119 -0.1681)
OKLCHoklch(45.6% 0.168 266)
XYZxyz(11.6731, 8.9145, 43.7445)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CB3 #B3912A
analogous
#2A91B3 #2A4CB3 #4C2AB3
triadic
#2A4CB3 #B32A4C #4CB32A
tetradic
#2A4CB3 #B32A91 #B3912A #2AB34C
square
#2A4CB3 #B32A91 #B3912A #2AB34C
split-complementary
#2A4CB3 #B34C2A #91B32A
monochromatic
#132250 #1E3781 #2A4CB3 #466AD4 #7892DF

Accessibility & contrast

On white

7.55
#2A4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A4CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CB3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CB3#FFFFFF#000000##FFFFFF
##2A4CB31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4cb3;
/* rgb */ color: rgb(42, 76, 179);
/* oklch */ color: oklch(45.6% 0.168 266.0);
Tailwind
colors: {
  custom: {
    50: '#787dcb',
    500: '#2a4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4cb3;
$custom-light: #787dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4cb3",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 225.109,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.16849,
    "h": 266
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#2A4CB3
secondary
#C7B272
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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