#2A4C94#2A4C94

#2A4C94 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.125 H 263.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2A4C94
RGBrgb(42, 76, 148)
HSLhsl(221, 56%, 37%)
HSVhsv(221, 72%, 58%)
CMYKcmyk(71.6%, 48.6%, 0%, 42%)
CIE-LABlab(33.56, 13.28, -43.30)
CIE-LCHlch(33.56, 45.30, 287.06°)
OKLaboklab(43.17% -0.0149 -0.1241)
OKLCHoklch(43.17% 0.125 263.2)
XYZxyz(8.8827, 7.7983, 29.0483)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C94 #94722A
analogous
#2A8194 #2A4C94 #3D2A94
triadic
#2A4C94 #942A4C #4C942A
tetradic
#2A4C94 #942A81 #94722A #2A943D
square
#2A4C94 #942A81 #94722A #2A943D
split-complementary
#2A4C94 #943D2A #81942A
monochromatic
#0F1B35 #1C3464 #2A4C94 #3864C4 #6588D3

Accessibility & contrast

On white

8.20
#2A4C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2A4C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C94
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C94#FFFFFF#000000##FFFFFF
##2A4C941.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#0B4A93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4c94;
/* rgb */ color: rgb(42, 76, 148);
/* oklch */ color: oklch(43.2% 0.125 263.2);
Tailwind
colors: {
  custom: {
    50: '#717db4',
    500: '#2a4c94',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c94;
$custom-light: #717db4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c94",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 220.755,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.12504,
    "h": 263.2
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#2A4C94
secondary
#B99D60
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4C94

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

Preview Lab → · Contrast checker → · Palette generator →

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