#2D5CA8#2D5CA8

#2D5CA8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.133 H 259.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2D5CA8
RGBrgb(45, 92, 168)
HSLhsl(217, 58%, 42%)
HSVhsv(217, 73%, 66%)
CMYKcmyk(73.2%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.64, 10.81, -45.53)
CIE-LCHlch(39.64, 46.80, 283.35°)
OKLaboklab(48.3% -0.0239 -0.1304)
OKLCHoklch(48.3% 0.133 259.6)
XYZxyz(11.9747, 11.0380, 38.5377)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CA8 #A8792D
analogous
#2D9AA8 #2D5CA8 #3C2DA8
triadic
#2D5CA8 #A82D5C #5CA82D
tetradic
#2D5CA8 #A82D9A #A8792D #2DA83C
square
#2D5CA8 #A82D9A #A8792D #2DA83C
split-complementary
#2D5CA8 #A83C2D #9AA82D
monochromatic
#132747 #204278 #2D5CA8 #4579CD #759CDA

Accessibility & contrast

On white

6.55
#2D5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CA8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CA8#FFFFFF#000000##FFFFFF
##2D5CA81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AB
Deuteranopia (green-blind)
#1D58A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5ca8;
/* rgb */ color: rgb(45, 92, 168);
/* oklch */ color: oklch(48.3% 0.133 259.6);
Tailwind
colors: {
  custom: {
    50: '#7689c2',
    500: '#2d5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ca8;
$custom-light: #7689c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ca8",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 217.073,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.13256,
    "h": 259.6
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#2D5CA8
secondary
#C2A26F
accent
#A647E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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