#2A4FA0#2A4FA0

#2A4FA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.138 H 263.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2A4FA0
RGBrgb(42, 79, 160)
HSLhsl(221, 58%, 40%)
HSVhsv(221, 74%, 63%)
CMYKcmyk(73.8%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.24, 15.90, -47.84)
CIE-LCHlch(35.24, 50.41, 288.38°)
OKLaboklab(44.72% -0.0159 -0.1374)
OKLCHoklch(44.72% 0.138 263.4)
XYZxyz(10.0937, 8.6212, 34.3830)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FA0 #A07B2A
analogous
#2A8AA0 #2A4FA0 #402AA0
triadic
#2A4FA0 #A02A4F #4FA02A
tetradic
#2A4FA0 #A02A8A #A07B2A #2AA040
square
#2A4FA0 #A02A8A #A07B2A #2AA040
split-complementary
#2A4FA0 #A0402A #8AA02A
monochromatic
#111F3F #1D3770 #2A4FA0 #3C69CC #6C8ED8

Accessibility & contrast

On white

7.71
#2A4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FA0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FA0#FFFFFF#000000##FFFFFF
##2A4FA01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4fa0;
/* rgb */ color: rgb(42, 79, 160);
/* oklch */ color: oklch(44.7% 0.138 263.4);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2a4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fa0;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fa0",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 221.186,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44724,
    "c": 0.13837,
    "h": 263.4
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#2A4FA0
secondary
#BFA367
accent
#B146E2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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