#2A4697#2A4697

#2A4697 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.137 H 266.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A4697
RGBrgb(42, 70, 151)
HSLhsl(225, 56%, 38%)
HSVhsv(225, 72%, 59%)
CMYKcmyk(72.2%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.05, 18.49, -47.57)
CIE-LCHlch(32.05, 51.03, 291.24°)
OKLaboklab(42.09% -0.0091 -0.1368)
OKLCHoklch(42.09% 0.137 266.2)
XYZxyz(8.7290, 7.1060, 30.1837)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4697 #977B2A
analogous
#2A7C97 #2A4697 #442A97
triadic
#2A4697 #972A46 #46972A
tetradic
#2A4697 #972A7C #977B2A #2A9744
square
#2A4697 #972A7C #977B2A #2A9744
split-complementary
#2A4697 #97442A #7C972A
monochromatic
#0F1A37 #1D3067 #2A4697 #375CC7 #6783D5

Accessibility & contrast

On white

8.67
#2A4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4697
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4697#FFFFFF#000000##FFFFFF
##2A46971.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4697;
/* rgb */ color: rgb(42, 70, 151);
/* oklch */ color: oklch(42.1% 0.137 266.2);
Tailwind
colors: {
  custom: {
    50: '#7279b6',
    500: '#2a4697',
    950: '#000000',
  },
}
SCSS
$custom: #2a4697;
$custom-light: #7279b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4697",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 224.587,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.1371,
    "h": 266.2
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#2A4697
secondary
#BBA462
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4697

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

Preview Lab → · Contrast checker → · Palette generator →

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