#2A4FA3#2A4FA3

#2A4FA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.143 H 263.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2A4FA3
RGBrgb(42, 79, 163)
HSLhsl(222, 59%, 40%)
HSVhsv(222, 74%, 64%)
CMYKcmyk(74.2%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.45, 17.05, -49.30)
CIE-LCHlch(35.45, 52.17, 289.08°)
OKLaboklab(44.95% -0.0155 -0.1417)
OKLCHoklch(44.95% 0.143 263.7)
XYZxyz(10.3593, 8.7274, 35.7818)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FA3 #A37E2A
analogous
#2A8BA3 #2A4FA3 #422AA3
triadic
#2A4FA3 #A32A4F #4FA32A
tetradic
#2A4FA3 #A32A8B #A37E2A #2AA342
square
#2A4FA3 #A32A8B #A37E2A #2AA342
split-complementary
#2A4FA3 #A3422A #8BA32A
monochromatic
#112042 #1D3772 #2A4FA3 #3D69CD #6E8FDA

Accessibility & contrast

On white

7.65
#2A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FA3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FA3#FFFFFF#000000##FFFFFF
##2A4FA31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4fa3;
/* rgb */ color: rgb(42, 79, 163);
/* oklch */ color: oklch(45.0% 0.143 263.7);
Tailwind
colors: {
  custom: {
    50: '#747fbf',
    500: '#2a4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fa3;
$custom-light: #747fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fa3",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 221.653,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.1426,
    "h": 263.7
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#2A4FA3
secondary
#C0A668
accent
#B246E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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