#2D5CA2#2D5CA2

#2D5CA2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.124 H 258.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA2
RGBrgb(45, 92, 162)
HSLhsl(216, 57%, 41%)
HSVhsv(216, 72%, 64%)
CMYKcmyk(72.2%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.27, 8.53, -42.56)
CIE-LCHlch(39.27, 43.41, 281.34°)
OKLaboklab(47.9% -0.0251 -0.1216)
OKLCHoklch(47.9% 0.124 258.3)
XYZxyz(11.4286, 10.8196, 35.6615)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA2 #A2732D
analogous
#2D97A2 #2D5CA2 #382DA2
triadic
#2D5CA2 #A22D5C #5CA22D
tetradic
#2D5CA2 #A22D97 #A2732D #2DA238
square
#2D5CA2 #A22D97 #A2732D #2DA238
split-complementary
#2D5CA2 #A2382D #97A22D
monochromatic
#122642 #204172 #2D5CA2 #4279CA #729BD8

Accessibility & contrast

On white

6.64
#2D5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2D5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA2#FFFFFF#000000##FFFFFF
##2D5CA21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2658A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d5ca2;
/* rgb */ color: rgb(45, 92, 162);
/* oklch */ color: oklch(47.9% 0.124 258.3);
Tailwind
colors: {
  custom: {
    50: '#7589be',
    500: '#2d5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca2;
$custom-light: #7589be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca2",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 215.897,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.12421,
    "h": 258.3
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#2D5CA2
secondary
#BF9E6C
accent
#A348E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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