#2A4FA9#2A4FA9

#2A4FA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.151 H 264.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2A4FA9
RGBrgb(42, 79, 169)
HSLhsl(223, 60%, 41%)
HSVhsv(223, 75%, 66%)
CMYKcmyk(75.1%, 53.3%, 0%, 33.7%)
CIE-LABlab(35.88, 19.36, -52.19)
CIE-LCHlch(35.88, 55.67, 290.35°)
OKLaboklab(45.41% -0.0149 -0.1503)
OKLCHoklch(45.41% 0.151 264.3)
XYZxyz(10.9097, 8.9476, 38.6805)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FA9 #A9842A
analogous
#2A8FA9 #2A4FA9 #452AA9
triadic
#2A4FA9 #A92A4F #4FA92A
tetradic
#2A4FA9 #A92A8F #A9842A #2AA945
square
#2A4FA9 #A92A8F #A9842A #2AA945
split-complementary
#2A4FA9 #A9452A #8FA92A
monochromatic
#122147 #1E3878 #2A4FA9 #416AD0 #7291DC

Accessibility & contrast

On white

7.53
#2A4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FA9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FA9#FFFFFF#000000##FFFFFF
##2A4FA91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4fa9;
/* rgb */ color: rgb(42, 79, 169);
/* oklch */ color: oklch(45.4% 0.151 264.3);
Tailwind
colors: {
  custom: {
    50: '#767fc3',
    500: '#2a4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fa9;
$custom-light: #767fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fa9",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 222.52,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.151,
    "h": 264.3
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#2A4FA9
secondary
#C3AA6C
accent
#B544E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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