#2D5FCA#2D5FCA

#2D5FCA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.175 H 262.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2D5FCA
RGBrgb(45, 95, 202)
HSLhsl(221, 64%, 48%)
HSVhsv(221, 78%, 79%)
CMYKcmyk(77.7%, 53%, 0%, 20.8%)
CIE-LABlab(42.77, 21.78, -60.37)
CIE-LCHlch(42.77, 64.18, 289.84°)
OKLaboklab(51.42% -0.0216 -0.174)
OKLCHoklch(51.42% 0.175 262.9)
XYZxyz(15.8313, 13.0047, 57.5415)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FCA #CA982D
analogous
#2DADCA #2D5FCA #492DCA
triadic
#2D5FCA #CA2D5F #5FCA2D
tetradic
#2D5FCA #CA2DAD #CA982D #2DCA49
square
#2D5FCA #CA2DAD #CA982D #2DCA49
split-complementary
#2D5FCA #CA492D #ADCA2D
monochromatic
#173066 #224798 #2D5FCA #5A83DA #8CA8E5

Accessibility & contrast

On white

5.83
#2D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2D5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FCA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FCA#FFFFFF#000000##FFFFFF
##2D5FCA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d5fca;
/* rgb */ color: rgb(45, 95, 202);
/* oklch */ color: oklch(51.4% 0.175 262.9);
Tailwind
colors: {
  custom: {
    50: '#7e8bdb',
    500: '#2d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fca;
$custom-light: #7e8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fca",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 220.892,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.17531,
    "h": 262.9
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#2D5FCA
secondary
#CFB783
accent
#B241E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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