#2A4BAD#2A4BAD

#2A4BAD is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.162 H 265.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A4BAD
RGBrgb(42, 75, 173)
HSLhsl(225, 61%, 42%)
HSVhsv(225, 76%, 68%)
CMYKcmyk(75.7%, 56.6%, 0%, 32.2%)
CIE-LABlab(35.08, 23.56, -55.87)
CIE-LCHlch(35.08, 60.63, 292.86°)
OKLaboklab(44.9% -0.0115 -0.1611)
OKLCHoklch(44.9% 0.162 265.9)
XYZxyz(11.0111, 8.5403, 40.5952)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BAD #AD8C2A
analogous
#2A8DAD #2A4BAD #4A2AAD
triadic
#2A4BAD #AD2A4B #4BAD2A
tetradic
#2A4BAD #AD2A8D #AD8C2A #2AAD4A
square
#2A4BAD #AD2A8D #AD8C2A #2AAD4A
split-complementary
#2A4BAD #AD4A2A #8DAD2A
monochromatic
#12204B #1E367C #2A4BAD #4367D1 #748FDD

Accessibility & contrast

On white

7.75
#2A4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A4BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BAD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BAD#FFFFFF#000000##FFFFFF
##2A4BAD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4bad;
/* rgb */ color: rgb(42, 75, 173);
/* oklch */ color: oklch(44.9% 0.162 265.9);
Tailwind
colors: {
  custom: {
    50: '#777cc6',
    500: '#2a4bad',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bad;
$custom-light: #777cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bad",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 224.885,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.16155,
    "h": 265.9
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#2A4BAD
secondary
#C5AF6E
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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