#2A4B97#2A4B97

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

Color values

HEX#2A4B97
RGBrgb(42, 75, 151)
HSLhsl(222, 56%, 38%)
HSVhsv(222, 72%, 59%)
CMYKcmyk(72.2%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.47, 15.11, -45.26)
CIE-LCHlch(33.47, 47.72, 288.46°)
OKLaboklab(43.17% -0.0135 -0.1299)
OKLCHoklch(43.17% 0.131 264.1)
XYZxyz(9.0549, 7.7578, 30.2924)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B97 #97762A
analogous
#2A8197 #2A4B97 #3F2A97
triadic
#2A4B97 #972A4B #4B972A
tetradic
#2A4B97 #972A81 #97762A #2A973F
square
#2A4B97 #972A81 #97762A #2A973F
split-complementary
#2A4B97 #973F2A #81972A
monochromatic
#0F1B37 #1D3367 #2A4B97 #3763C7 #6788D5

Accessibility & contrast

On white

8.23
#2A4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B97
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B97#FFFFFF#000000##FFFFFF
##2A4B971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4b97;
/* rgb */ color: rgb(42, 75, 151);
/* oklch */ color: oklch(43.2% 0.131 264.1);
Tailwind
colors: {
  custom: {
    50: '#727cb6',
    500: '#2a4b97',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b97;
$custom-light: #727cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b97",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 221.835,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.13064,
    "h": 264.1
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#2A4B97
secondary
#BBA062
accent
#B248E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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