#2A4597#2A4597

#2A4597 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.138 H 266.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2A4597
RGBrgb(42, 69, 151)
HSLhsl(225, 56%, 38%)
HSVhsv(225, 72%, 59%)
CMYKcmyk(72.2%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.77, 19.16, -48.02)
CIE-LCHlch(31.77, 51.70, 291.75°)
OKLaboklab(41.88% -0.0082 -0.1382)
OKLCHoklch(41.88% 0.138 266.6)
XYZxyz(8.6669, 6.9820, 30.1630)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4597 #977C2A
analogous
#2A7B97 #2A4597 #462A97
triadic
#2A4597 #972A45 #45972A
tetradic
#2A4597 #972A7B #977C2A #2A9746
square
#2A4597 #972A7B #977C2A #2A9746
split-complementary
#2A4597 #97462A #7B972A
monochromatic
#0F1937 #1D2F67 #2A4597 #375BC7 #6782D5

Accessibility & contrast

On white

8.76
#2A4597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A4597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4597
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4597#FFFFFF#000000##FFFFFF
##2A45971.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4597;
/* rgb */ color: rgb(42, 69, 151);
/* oklch */ color: oklch(41.9% 0.138 266.6);
Tailwind
colors: {
  custom: {
    50: '#7278b6',
    500: '#2a4597',
    950: '#000000',
  },
}
SCSS
$custom: #2a4597;
$custom-light: #7278b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4597",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 225.138,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.1384,
    "h": 266.6
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#2A4597
secondary
#BBA562
accent
#BA48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4597

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

Preview Lab → · Contrast checker → · Palette generator →

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