#2A4FB1#2A4FB1

#2A4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.162 H 265.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2A4FB1
RGBrgb(42, 79, 177)
HSLhsl(224, 62%, 43%)
HSVhsv(224, 76%, 69%)
CMYKcmyk(76.3%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.47, 22.43, -55.98)
CIE-LCHlch(36.47, 60.31, 291.83°)
OKLaboklab(46.05% -0.0142 -0.1614)
OKLCHoklch(46.05% 0.162 265)
XYZxyz(11.6838, 9.2572, 42.7575)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FB1 #B18C2A
analogous
#2A92B1 #2A4FB1 #492AB1
triadic
#2A4FB1 #B12A4F #4FB12A
tetradic
#2A4FB1 #B12A92 #B18C2A #2AB149
square
#2A4FB1 #B12A92 #B18C2A #2AB149
split-complementary
#2A4FB1 #B1492A #92B12A
monochromatic
#13234E #1E3980 #2A4FB1 #456CD3 #7793DF

Accessibility & contrast

On white

7.36
#2A4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A4FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FB1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FB1#FFFFFF#000000##FFFFFF
##2A4FB11.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4fb1;
/* rgb */ color: rgb(42, 79, 177);
/* oklch */ color: oklch(46.0% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#787fc9',
    500: '#2a4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fb1;
$custom-light: #787fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fb1",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 223.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.16203,
    "h": 265
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#2A4FB1
secondary
#C6AF70
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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