#2D5AA4#2D5AA4

#2D5AA4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.6% C 0.129 H 259.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2D5AA4
RGBrgb(45, 90, 164)
HSLhsl(217, 57%, 41%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(72.6%, 45.1%, 0%, 35.7%)
CIE-LABlab(38.81, 10.59, -44.49)
CIE-LCHlch(38.81, 45.74, 283.39°)
OKLaboklab(47.58% -0.0228 -0.1274)
OKLCHoklch(47.58% 0.129 259.8)
XYZxyz(11.4368, 10.5493, 36.5482)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AA4 #A4772D
analogous
#2D95A4 #2D5AA4 #3B2DA4
triadic
#2D5AA4 #A42D5A #5AA42D
tetradic
#2D5AA4 #A42D95 #A4772D #2DA43B
square
#2D5AA4 #A42D95 #A4772D #2DA43B
split-complementary
#2D5AA4 #A43B2D #95A42D
monochromatic
#132544 #204074 #2D5AA4 #4376CB #7399D9

Accessibility & contrast

On white

6.75
#2D5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AA4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AA4#FFFFFF#000000##FFFFFF
##2D5AA41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5aa4;
/* rgb */ color: rgb(45, 90, 164);
/* oklch */ color: oklch(47.6% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2d5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5aa4;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5aa4",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 217.311,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.12939,
    "h": 259.8
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#2D5AA4
secondary
#C0A16D
accent
#A648E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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