#2A4BAE#2A4BAE

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

Color values

HEX#2A4BAE
RGBrgb(42, 75, 174)
HSLhsl(225, 61%, 42%)
HSVhsv(225, 76%, 68%)
CMYKcmyk(75.9%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.16, 23.94, -56.34)
CIE-LCHlch(35.16, 61.21, 293.02°)
OKLaboklab(44.99% -0.0114 -0.1625)
OKLCHoklch(44.99% 0.163 266)
XYZxyz(11.1082, 8.5792, 41.1067)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BAE #AE8D2A
analogous
#2A8DAE #2A4BAE #4B2AAE
triadic
#2A4BAE #AE2A4B #4BAE2A
tetradic
#2A4BAE #AE2A8D #AE8D2A #2AAE4B
square
#2A4BAE #AE2A8D #AE8D2A #2AAE4B
split-complementary
#2A4BAE #AE4B2A #8DAE2A
monochromatic
#12214B #1E367D #2A4BAE #4367D2 #758FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4BAE#FFFFFF#000000##FFFFFF
##2A4BAE1.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)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4bae;
/* rgb */ color: rgb(42, 75, 174);
/* oklch */ color: oklch(45.0% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#777cc7',
    500: '#2a4bae',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bae;
$custom-light: #777cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bae",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 225,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.16292,
    "h": 266
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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