#2A4497#2A4497

#2A4497 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.140 H 267.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2A4497
RGBrgb(42, 68, 151)
HSLhsl(226, 56%, 38%)
HSVhsv(226, 72%, 59%)
CMYKcmyk(72.2%, 55%, 0%, 40.8%)
CIE-LABlab(31.49, 19.84, -48.48)
CIE-LCHlch(31.49, 52.38, 292.26°)
OKLaboklab(41.67% -0.0073 -0.1395)
OKLCHoklch(41.67% 0.14 267)
XYZxyz(8.6059, 6.8600, 30.1427)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4497 #977D2A
analogous
#2A7A97 #2A4497 #462A97
triadic
#2A4497 #972A44 #44972A
tetradic
#2A4497 #972A7A #977D2A #2A9746
square
#2A4497 #972A7A #977D2A #2A9746
split-complementary
#2A4497 #97462A #7A972A
monochromatic
#0F1937 #1D2E67 #2A4497 #375AC7 #6781D5

Accessibility & contrast

On white

8.85
#2A4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4497
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4497#FFFFFF#000000##FFFFFF
##2A44971.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4497;
/* rgb */ color: rgb(42, 68, 151);
/* oklch */ color: oklch(41.7% 0.140 267.0);
Tailwind
colors: {
  custom: {
    50: '#7277b6',
    500: '#2a4497',
    950: '#000000',
  },
}
SCSS
$custom: #2a4497;
$custom-light: #7277b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4497",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 225.688,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.1397,
    "h": 267
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#2A4497
secondary
#BBA662
accent
#BC48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4497

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

Preview Lab → · Contrast checker → · Palette generator →

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