#2D5EB6#2D5EB6

#2D5EB6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.149 H 261.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2D5EB6
RGBrgb(45, 94, 182)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(75.3%, 48.4%, 0%, 28.6%)
CIE-LABlab(41.12, 14.84, -51.41)
CIE-LCHlch(41.12, 53.51, 286.10°)
OKLaboklab(49.73% -0.0233 -0.1476)
OKLCHoklch(49.73% 0.149 261)
XYZxyz(13.5253, 11.9392, 45.8386)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EB6 #B6852D
analogous
#2DA3B6 #2D5EB6 #412DB6
triadic
#2D5EB6 #B62D5E #5EB62D
tetradic
#2D5EB6 #B62DA3 #B6852D #2DB641
square
#2D5EB6 #B62DA3 #B6852D #2DB641
split-complementary
#2D5EB6 #B6412D #A3B62D
monochromatic
#152B54 #214585 #2D5EB6 #4D7DD3 #7EA1DF

Accessibility & contrast

On white

6.20
#2D5EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D5EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EB6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EB6#FFFFFF#000000##FFFFFF
##2D5EB61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5eb6;
/* rgb */ color: rgb(45, 94, 182);
/* oklch */ color: oklch(49.7% 0.149 261.0);
Tailwind
colors: {
  custom: {
    50: '#798bcc',
    500: '#2d5eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d5eb6;
$custom-light: #798bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5eb6",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 218.54,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.14947,
    "h": 261
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#2D5EB6
secondary
#C8AB77
accent
#AB44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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