#2A4FC3#2A4FC3

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

Color values

HEX#2A4FC3
RGBrgb(42, 79, 195)
HSLhsl(225, 65%, 46%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(78.5%, 59.5%, 0%, 23.5%)
CIE-LABlab(37.88, 29.25, -64.26)
CIE-LCHlch(37.88, 70.61, 294.47°)
OKLaboklab(47.55% -0.0134 -0.1857)
OKLCHoklch(47.55% 0.186 265.9)
XYZxyz(13.5977, 10.0228, 52.8371)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FC3 #C39E2A
analogous
#2A9CC3 #2A4FC3 #522AC3
triadic
#2A4FC3 #C32A4F #4FC32A
tetradic
#2A4FC3 #C32A9C #C39E2A #2AC352
square
#2A4FC3 #C32A9C #C39E2A #2AC352
split-complementary
#2A4FC3 #C3522A #9CC32A
monochromatic
#14265E #1F3B91 #2A4FC3 #5172D9 #839BE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4FC3#FFFFFF#000000##FFFFFF
##2A4FC31.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)
#0061C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a4fc3;
/* rgb */ color: rgb(42, 79, 195);
/* oklch */ color: oklch(47.5% 0.186 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fd6',
    500: '#2a4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fc3;
$custom-light: #7c7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fc3",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 225.49,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.18621,
    "h": 265.9
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#2A4FC3
secondary
#CDBA7B
accent
#BF40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2A4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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