#2A4FB0#2A4FB0

#2A4FB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.161 H 264.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2A4FB0
RGBrgb(42, 79, 176)
HSLhsl(223, 61%, 43%)
HSVhsv(223, 76%, 69%)
CMYKcmyk(76.1%, 55.1%, 0%, 31%)
CIE-LABlab(36.40, 22.04, -55.51)
CIE-LCHlch(36.40, 59.73, 291.66°)
OKLaboklab(45.97% -0.0143 -0.16)
OKLCHoklch(45.97% 0.161 264.9)
XYZxyz(11.5845, 9.2175, 42.2345)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FB0 #B08B2A
analogous
#2A92B0 #2A4FB0 #482AB0
triadic
#2A4FB0 #B02A4F #4FB02A
tetradic
#2A4FB0 #B02A92 #B08B2A #2AB048
square
#2A4FB0 #B02A92 #B08B2A #2AB048
split-complementary
#2A4FB0 #B0482A #92B02A
monochromatic
#12234D #1E397F #2A4FB0 #456CD3 #7693DE

Accessibility & contrast

On white

7.38
#2A4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2A4FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FB0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FB0#FFFFFF#000000##FFFFFF
##2A4FB01.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4fb0;
/* rgb */ color: rgb(42, 79, 176);
/* oklch */ color: oklch(46.0% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#2a4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fb0;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fb0",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 223.433,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.16067,
    "h": 264.9
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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