#2A4E94#2A4E94

#2A4E94 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.123 H 262.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2A4E94
RGBrgb(42, 78, 148)
HSLhsl(220, 56%, 37%)
HSVhsv(220, 72%, 58%)
CMYKcmyk(71.6%, 47.3%, 0%, 42%)
CIE-LABlab(34.15, 11.94, -42.36)
CIE-LCHlch(34.15, 44.01, 285.75°)
OKLaboklab(43.62% -0.0168 -0.1213)
OKLCHoklch(43.62% 0.123 262.1)
XYZxyz(9.0226, 8.0782, 29.0950)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E94 #94702A
analogous
#2A8394 #2A4E94 #3B2A94
triadic
#2A4E94 #942A4E #4E942A
tetradic
#2A4E94 #942A83 #94702A #2A943B
square
#2A4E94 #942A83 #94702A #2A943B
split-complementary
#2A4E94 #943B2A #83942A
monochromatic
#0F1C35 #1C3564 #2A4E94 #3867C4 #658BD3

Accessibility & contrast

On white

8.03
#2A4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E94
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E94#FFFFFF#000000##FFFFFF
##2A4E941.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5597
Deuteranopia (green-blind)
#134C93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4e94;
/* rgb */ color: rgb(42, 78, 148);
/* oklch */ color: oklch(43.6% 0.123 262.1);
Tailwind
colors: {
  custom: {
    50: '#717fb4',
    500: '#2a4e94',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e94;
$custom-light: #717fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e94",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 219.623,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.12251,
    "h": 262.1
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#2A4E94
secondary
#B99B60
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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