#2D5FC3#2D5FC3

#2D5FC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.166 H 262.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2D5FC3
RGBrgb(45, 95, 195)
HSLhsl(220, 63%, 47%)
HSVhsv(220, 77%, 76%)
CMYKcmyk(76.9%, 51.3%, 0%, 23.5%)
CIE-LABlab(42.28, 19.13, -57.12)
CIE-LCHlch(42.28, 60.24, 288.52°)
OKLaboklab(50.89% -0.0224 -0.1644)
OKLCHoklch(50.89% 0.166 262.2)
XYZxyz(15.0212, 12.6807, 53.2751)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FC3 #C3912D
analogous
#2DAAC3 #2D5FC3 #462DC3
triadic
#2D5FC3 #C32D5F #5FC32D
tetradic
#2D5FC3 #C32DAA #C3912D #2DC346
square
#2D5FC3 #C32DAA #C3912D #2DC346
split-complementary
#2D5FC3 #C3462D #AAC32D
monochromatic
#162F60 #224791 #2D5FC3 #5581D8 #87A6E3

Accessibility & contrast

On white

5.94
#2D5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D5FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FC3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FC3#FFFFFF#000000##FFFFFF
##2D5FC31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d5fc3;
/* rgb */ color: rgb(45, 95, 195);
/* oklch */ color: oklch(50.9% 0.166 262.2);
Tailwind
colors: {
  custom: {
    50: '#7c8bd6',
    500: '#2d5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fc3;
$custom-light: #7c8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fc3",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 220,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.16593,
    "h": 262.2
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#2D5FC3
secondary
#CDB37F
accent
#AF42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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