#2D5EC3#2D5EC3

#2D5EC3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.167 H 262.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2D5EC3
RGBrgb(45, 94, 195)
HSLhsl(220, 63%, 47%)
HSVhsv(220, 77%, 76%)
CMYKcmyk(76.9%, 51.8%, 0%, 23.5%)
CIE-LABlab(42.00, 19.78, -57.56)
CIE-LCHlch(42.00, 60.87, 288.96°)
OKLaboklab(50.68% -0.0216 -0.1657)
OKLCHoklch(50.68% 0.167 262.6)
XYZxyz(14.9317, 12.5017, 53.2453)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EC3 #C3922D
analogous
#2DA9C3 #2D5EC3 #472DC3
triadic
#2D5EC3 #C32D5E #5EC32D
tetradic
#2D5EC3 #C32DA9 #C3922D #2DC347
square
#2D5EC3 #C32DA9 #C3922D #2DC347
split-complementary
#2D5EC3 #C3472D #A9C32D
monochromatic
#162E60 #224691 #2D5EC3 #5580D8 #87A5E3

Accessibility & contrast

On white

6.00
#2D5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2D5EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EC3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EC3#FFFFFF#000000##FFFFFF
##2D5EC31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d5ec3;
/* rgb */ color: rgb(45, 94, 195);
/* oklch */ color: oklch(50.7% 0.167 262.6);
Tailwind
colors: {
  custom: {
    50: '#7c8bd6',
    500: '#2d5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ec3;
$custom-light: #7c8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ec3",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 220.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50683,
    "c": 0.16715,
    "h": 262.6
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#2D5EC3
secondary
#CDB37F
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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