#2D5AB2#2D5AB2

#2D5AB2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.149 H 262.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2D5AB2
RGBrgb(45, 90, 178)
HSLhsl(220, 60%, 44%)
HSVhsv(220, 75%, 70%)
CMYKcmyk(74.7%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.72, 15.92, -51.32)
CIE-LCHlch(39.72, 53.73, 287.24°)
OKLaboklab(48.57% -0.0205 -0.1474)
OKLCHoklch(48.57% 0.149 262.1)
XYZxyz(12.7714, 11.0832, 43.5770)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AB2 #B2852D
analogous
#2D9CB2 #2D5AB2 #422DB2
triadic
#2D5AB2 #B22D5A #5AB22D
tetradic
#2D5AB2 #B22D9C #B2852D #2DB242
square
#2D5AB2 #B22D9C #B2852D #2DB242
split-complementary
#2D5AB2 #B2422D #9CB22D
monochromatic
#142950 #214181 #2D5AB2 #4B78D1 #7C9DDE

Accessibility & contrast

On white

6.53
#2D5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2D5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AB2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AB2#FFFFFF#000000##FFFFFF
##2D5AB21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5ab2;
/* rgb */ color: rgb(45, 90, 178);
/* oklch */ color: oklch(48.6% 0.149 262.1);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2d5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ab2;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ab2",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 219.699,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.14886,
    "h": 262.1
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#2D5AB2
secondary
#C6AB75
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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