#2A4DC9#2A4DC9

#2A4DC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.196 H 266.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2A4DC9
RGBrgb(42, 77, 201)
HSLhsl(227, 65%, 48%)
HSVhsv(227, 79%, 79%)
CMYKcmyk(79.1%, 61.7%, 0%, 21.2%)
CIE-LABlab(37.87, 32.78, -67.77)
CIE-LCHlch(37.87, 75.29, 295.81°)
OKLaboklab(47.69% -0.0121 -0.196)
OKLCHoklch(47.69% 0.196 266.5)
XYZxyz(14.1476, 10.0154, 56.4345)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DC9 #C9A62A
analogous
#2A9DC9 #2A4DC9 #562AC9
triadic
#2A4DC9 #C92A4D #4DC92A
tetradic
#2A4DC9 #C92A9D #C9A62A #2AC956
square
#2A4DC9 #C92A9D #C9A62A #2AC956
split-complementary
#2A4DC9 #C9562A #9DC92A
monochromatic
#152664 #1F3A96 #2A4DC9 #5572DB #879CE6

Accessibility & contrast

On white

6.99
#2A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2A4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A4DC9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DC9#FFFFFF#000000##FFFFFF
##2A4DC91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a4dc9;
/* rgb */ color: rgb(42, 77, 201);
/* oklch */ color: oklch(47.7% 0.196 266.5);
Tailwind
colors: {
  custom: {
    50: '#7e7eda',
    500: '#2a4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dc9;
$custom-light: #7e7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dc9",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 226.792,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.19642,
    "h": 266.5
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#2A4DC9
secondary
#D0BE7F
accent
#C33FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2A4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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