#2A4CAF#2A4CAF

#2A4CAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.163 H 265.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2A4CAF
RGBrgb(42, 76, 175)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(76%, 56.6%, 0%, 31.4%)
CIE-LABlab(35.51, 23.65, -56.37)
CIE-LCHlch(35.51, 61.13, 292.76°)
OKLaboklab(45.27% -0.0121 -0.1626)
OKLCHoklch(45.27% 0.163 265.7)
XYZxyz(11.2744, 8.7550, 41.6448)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CAF #AF8D2A
analogous
#2A8EAF #2A4CAF #4B2AAF
triadic
#2A4CAF #AF2A4C #4CAF2A
tetradic
#2A4CAF #AF2A8E #AF8D2A #2AAF4B
square
#2A4CAF #AF2A8E #AF8D2A #2AAF4B
split-complementary
#2A4CAF #AF4B2A #8EAF2A
monochromatic
#12214C #1E377E #2A4CAF #4468D2 #7590DE

Accessibility & contrast

On white

7.63
#2A4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CAF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CAF#FFFFFF#000000##FFFFFF
##2A4CAF1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4caf;
/* rgb */ color: rgb(42, 76, 175);
/* oklch */ color: oklch(45.3% 0.163 265.7);
Tailwind
colors: {
  custom: {
    50: '#777dc8',
    500: '#2a4caf',
    950: '#000000',
  },
}
SCSS
$custom: #2a4caf;
$custom-light: #777dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4caf",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 224.662,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.16304,
    "h": 265.7
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#2A4CAF
secondary
#C6AF6F
accent
#BB43E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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