#2A4EB3#2A4EB3

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

Color values

HEX#2A4EB3
RGBrgb(42, 78, 179)
HSLhsl(224, 62%, 43%)
HSVhsv(224, 77%, 70%)
CMYKcmyk(76.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.36, 23.85, -57.36)
CIE-LCHlch(36.36, 62.12, 292.58°)
OKLaboklab(46.01% -0.0133 -0.1655)
OKLCHoklch(46.01% 0.166 265.4)
XYZxyz(11.8130, 9.1944, 43.7912)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EB3 #B38F2A
analogous
#2A92B3 #2A4EB3 #4B2AB3
triadic
#2A4EB3 #B32A4E #4EB32A
tetradic
#2A4EB3 #B32A92 #B38F2A #2AB34B
square
#2A4EB3 #B32A92 #B38F2A #2AB34B
split-complementary
#2A4EB3 #B34B2A #92B32A
monochromatic
#132350 #1E3881 #2A4EB3 #466CD4 #7893DF

Accessibility & contrast

On white

7.40
#2A4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4EB3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EB3#FFFFFF#000000##FFFFFF
##2A4EB31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a4eb3;
/* rgb */ color: rgb(42, 78, 179);
/* oklch */ color: oklch(46.0% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#787fca',
    500: '#2a4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4eb3;
$custom-light: #787fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4eb3",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 224.234,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.16601,
    "h": 265.4
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#2A4EB3
secondary
#C7B172
accent
#BA43E5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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