#2A4FB6#2A4FB6

#2A4FB6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.169 H 265.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A4FB6
RGBrgb(42, 79, 182)
HSLhsl(224, 63%, 44%)
HSVhsv(224, 77%, 71%)
CMYKcmyk(76.9%, 56.6%, 0%, 28.6%)
CIE-LABlab(36.86, 24.33, -58.32)
CIE-LCHlch(36.86, 63.19, 292.65°)
OKLaboklab(46.46% -0.0139 -0.1683)
OKLCHoklch(46.46% 0.169 265.3)
XYZxyz(12.1913, 9.4602, 45.4304)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FB6 #B6912A
analogous
#2A95B6 #2A4FB6 #4B2AB6
triadic
#2A4FB6 #B62A4F #4FB62A
tetradic
#2A4FB6 #B62A95 #B6912A #2AB64B
square
#2A4FB6 #B62A95 #B6912A #2AB64B
split-complementary
#2A4FB6 #B64B2A #95B62A
monochromatic
#132453 #1F3984 #2A4FB6 #486DD5 #7A95E0

Accessibility & contrast

On white

7.26
#2A4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A4FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FB6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FB6#FFFFFF#000000##FFFFFF
##2A4FB61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a4fb6;
/* rgb */ color: rgb(42, 79, 182);
/* oklch */ color: oklch(46.5% 0.169 265.3);
Tailwind
colors: {
  custom: {
    50: '#797fcd',
    500: '#2a4fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fb6;
$custom-light: #797fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fb6",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 224.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.16884,
    "h": 265.3
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#2A4FB6
secondary
#C8B273
accent
#BA42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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