#2D5CA6#2D5CA6

#2D5CA6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.130 H 259.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA6
RGBrgb(45, 92, 166)
HSLhsl(217, 57%, 41%)
HSVhsv(217, 73%, 65%)
CMYKcmyk(72.9%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.52, 10.05, -44.55)
CIE-LCHlch(39.52, 45.67, 282.71°)
OKLaboklab(48.17% -0.0243 -0.1275)
OKLCHoklch(48.17% 0.13 259.2)
XYZxyz(11.7898, 10.9641, 37.5639)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA6 #A6772D
analogous
#2D99A6 #2D5CA6 #3B2DA6
triadic
#2D5CA6 #A62D5C #5CA62D
tetradic
#2D5CA6 #A62D99 #A6772D #2DA63B
square
#2D5CA6 #A62D99 #A6772D #2DA63B
split-complementary
#2D5CA6 #A63B2D #99A62D
monochromatic
#132746 #204176 #2D5CA6 #4479CC #749BD9

Accessibility & contrast

On white

6.58
#2D5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA6#FFFFFF#000000##FFFFFF
##2D5CA61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#2058A4
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5ca6;
/* rgb */ color: rgb(45, 92, 166);
/* oklch */ color: oklch(48.2% 0.130 259.2);
Tailwind
colors: {
  custom: {
    50: '#7689c1',
    500: '#2d5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca6;
$custom-light: #7689c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca6",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 216.694,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48166,
    "c": 0.12978,
    "h": 259.2
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#2D5CA6
secondary
#C1A16E
accent
#A547E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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