#2D5EC0#2D5EC0

#2D5EC0 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.163 H 262.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2D5EC0
RGBrgb(45, 94, 192)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(76.6%, 51%, 0%, 24.7%)
CIE-LABlab(41.79, 18.64, -56.16)
CIE-LCHlch(41.79, 59.17, 288.36°)
OKLaboklab(50.46% -0.022 -0.1616)
OKLCHoklch(50.46% 0.163 262.3)
XYZxyz(14.5959, 12.3674, 51.4768)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EC0 #C08F2D
analogous
#2DA8C0 #2D5EC0 #462DC0
triadic
#2D5EC0 #C02D5E #5EC02D
tetradic
#2D5EC0 #C02DA8 #C08F2D #2DC046
square
#2D5EC0 #C02DA8 #C08F2D #2DC046
split-complementary
#2D5EC0 #C0462D #A8C02D
monochromatic
#162D5D #21468E #2D5EC0 #537FD7 #85A4E2

Accessibility & contrast

On white

6.05
#2D5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2D5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EC0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EC0#FFFFFF#000000##FFFFFF
##2D5EC01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d5ec0;
/* rgb */ color: rgb(45, 94, 192);
/* oklch */ color: oklch(50.5% 0.163 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8bd4',
    500: '#2d5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ec0;
$custom-light: #7b8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ec0",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 220,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.1631,
    "h": 262.3
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#2D5EC0
secondary
#CCB27D
accent
#AF43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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