#2D5AA3#2D5AA3

#2D5AA3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.128 H 259.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5AA3
RGBrgb(45, 90, 163)
HSLhsl(217, 57%, 41%)
HSVhsv(217, 72%, 64%)
CMYKcmyk(72.4%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.75, 10.21, -44.00)
CIE-LCHlch(38.75, 45.17, 283.07°)
OKLaboklab(47.51% -0.023 -0.1259)
OKLCHoklch(47.51% 0.128 259.6)
XYZxyz(11.3468, 10.5133, 36.0745)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AA3 #A3762D
analogous
#2D95A3 #2D5AA3 #3B2DA3
triadic
#2D5AA3 #A32D5A #5AA32D
tetradic
#2D5AA3 #A32D95 #A3762D #2DA33B
square
#2D5AA3 #A32D95 #A3762D #2DA33B
split-complementary
#2D5AA3 #A33B2D #95A32D
monochromatic
#132543 #204073 #2D5AA3 #4276CB #7299D8

Accessibility & contrast

On white

6.77
#2D5AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D5AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AA3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AA3#FFFFFF#000000##FFFFFF
##2D5AA31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#2056A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5aa3;
/* rgb */ color: rgb(45, 90, 163);
/* oklch */ color: oklch(47.5% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2d5aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5aa3;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5aa3",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 217.119,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.12799,
    "h": 259.6
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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