#2A4FB3#2A4FB3

#2A4FB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.165 H 265.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2A4FB3
RGBrgb(42, 79, 179)
HSLhsl(224, 62%, 43%)
HSVhsv(224, 77%, 70%)
CMYKcmyk(76.5%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.63, 23.19, -56.92)
CIE-LCHlch(36.63, 61.46, 292.17°)
OKLaboklab(46.21% -0.0141 -0.1642)
OKLCHoklch(46.21% 0.165 265.1)
XYZxyz(11.8846, 9.3375, 43.8151)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FB3 #B38E2A
analogous
#2A93B3 #2A4FB3 #4A2AB3
triadic
#2A4FB3 #B32A4F #4FB32A
tetradic
#2A4FB3 #B32A93 #B38E2A #2AB34A
square
#2A4FB3 #B32A93 #B38E2A #2AB34A
split-complementary
#2A4FB3 #B34A2A #93B32A
monochromatic
#132350 #1E3981 #2A4FB3 #466DD4 #7894DF

Accessibility & contrast

On white

7.32
#2A4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A4FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4FB3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FB3#FFFFFF#000000##FFFFFF
##2A4FB31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4fb3;
/* rgb */ color: rgb(42, 79, 179);
/* oklch */ color: oklch(46.2% 0.165 265.1);
Tailwind
colors: {
  custom: {
    50: '#787fca',
    500: '#2a4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fb3;
$custom-light: #787fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fb3",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 223.796,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.16476,
    "h": 265.1
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#2A4FB3
secondary
#C7B072
accent
#B943E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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