#2A4CB0#2A4CB0

#2A4CB0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.164 H 265.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A4CB0
RGBrgb(42, 76, 176)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(76.1%, 56.8%, 0%, 31%)
CIE-LABlab(35.59, 24.03, -56.84)
CIE-LCHlch(35.59, 61.71, 292.92°)
OKLaboklab(45.35% -0.012 -0.164)
OKLCHoklch(45.35% 0.164 265.8)
XYZxyz(11.3730, 8.7945, 42.1640)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CB0 #B08E2A
analogous
#2A8FB0 #2A4CB0 #4B2AB0
triadic
#2A4CB0 #B02A4C #4CB02A
tetradic
#2A4CB0 #B02A8F #B08E2A #2AB04B
square
#2A4CB0 #B02A8F #B08E2A #2AB04B
split-complementary
#2A4CB0 #B04B2A #8FB02A
monochromatic
#12214D #1E377F #2A4CB0 #4569D3 #7691DE

Accessibility & contrast

On white

7.61
#2A4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A4CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CB0
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CB0#FFFFFF#000000##FFFFFF
##2A4CB01.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4cb0;
/* rgb */ color: rgb(42, 76, 176);
/* oklch */ color: oklch(45.4% 0.164 265.8);
Tailwind
colors: {
  custom: {
    50: '#787dc8',
    500: '#2a4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4cb0;
$custom-light: #787dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4cb0",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 224.776,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.16441,
    "h": 265.8
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#2A4CB0
secondary
#C6B070
accent
#BC43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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