#2A4EA3#2A4EA3

#2A4EA3 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.144 H 264.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2A4EA3
RGBrgb(42, 78, 163)
HSLhsl(222, 59%, 40%)
HSVhsv(222, 74%, 64%)
CMYKcmyk(74.2%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.17, 17.72, -49.76)
CIE-LCHlch(35.17, 52.82, 289.60°)
OKLaboklab(44.74% -0.0147 -0.1431)
OKLCHoklch(44.74% 0.144 264.1)
XYZxyz(10.2878, 8.5843, 35.7580)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EA3 #A37F2A
analogous
#2A8AA3 #2A4EA3 #432AA3
triadic
#2A4EA3 #A32A4E #4EA32A
tetradic
#2A4EA3 #A32A8A #A37F2A #2AA343
square
#2A4EA3 #A32A8A #A37F2A #2AA343
split-complementary
#2A4EA3 #A3432A #8AA32A
monochromatic
#111F42 #1D3772 #2A4EA3 #3D68CD #6E8EDA

Accessibility & contrast

On white

7.73
#2A4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A4EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4EA3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EA3#FFFFFF#000000##FFFFFF
##2A4EA31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4ea3;
/* rgb */ color: rgb(42, 78, 163);
/* oklch */ color: oklch(44.7% 0.144 264.1);
Tailwind
colors: {
  custom: {
    50: '#747fbf',
    500: '#2a4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ea3;
$custom-light: #747fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ea3",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 222.149,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.14386,
    "h": 264.1
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#2A4EA3
secondary
#C0A668
accent
#B446E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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