#2A4690#2A4690

#2A4690 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.127 H 265.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2A4690
RGBrgb(42, 70, 144)
HSLhsl(224, 55%, 36%)
HSVhsv(224, 71%, 56%)
CMYKcmyk(70.8%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.54, 15.80, -44.11)
CIE-LCHlch(31.54, 46.85, 289.70°)
OKLaboklab(41.55% -0.0098 -0.1266)
OKLCHoklch(41.55% 0.127 265.6)
XYZxyz(8.1773, 6.8854, 27.2782)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4690 #90742A
analogous
#2A7990 #2A4690 #412A90
triadic
#2A4690 #902A46 #46902A
tetradic
#2A4690 #902A79 #90742A #2A9041
square
#2A4690 #902A79 #90742A #2A9041
split-complementary
#2A4690 #90412A #79902A
monochromatic
#0E1831 #1C2F61 #2A4690 #385DBF #6381D1

Accessibility & contrast

On white

8.83
#2A4690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A4690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4690
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4690#FFFFFF#000000##FFFFFF
##2A46901.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4690;
/* rgb */ color: rgb(42, 70, 144);
/* oklch */ color: oklch(41.5% 0.127 265.6);
Tailwind
colors: {
  custom: {
    50: '#7179b1',
    500: '#2a4690',
    950: '#000000',
  },
}
SCSS
$custom: #2a4690;
$custom-light: #7179b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4690",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 223.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.127,
    "h": 265.6
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#2A4690
secondary
#B79F5E
accent
#B54ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4690

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

Preview Lab → · Contrast checker → · Palette generator →

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