#2D5ACA#2D5ACA

#2D5ACA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.181 H 264.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2D5ACA
RGBrgb(45, 90, 202)
HSLhsl(223, 64%, 48%)
HSVhsv(223, 78%, 79%)
CMYKcmyk(77.7%, 55.4%, 0%, 20.8%)
CIE-LABlab(41.43, 25.03, -62.55)
CIE-LCHlch(41.43, 67.37, 291.81°)
OKLaboklab(50.41% -0.0181 -0.1805)
OKLCHoklch(50.41% 0.181 264.3)
XYZxyz(15.3952, 12.1327, 57.3961)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5ACA #CA9D2D
analogous
#2DA8CA #2D5ACA #4F2DCA
triadic
#2D5ACA #CA2D5A #5ACA2D
tetradic
#2D5ACA #CA2DA8 #CA9D2D #2DCA4F
square
#2D5ACA #CA2DA8 #CA9D2D #2DCA4F
split-complementary
#2D5ACA #CA4F2D #A8CA2D
monochromatic
#172D66 #224498 #2D5ACA #5A7FDA #8CA6E5

Accessibility & contrast

On white

6.13
#2D5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2D5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5ACA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5ACA#FFFFFF#000000##FFFFFF
##2D5ACA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5aca;
/* rgb */ color: rgb(45, 90, 202);
/* oklch */ color: oklch(50.4% 0.181 264.3);
Tailwind
colors: {
  custom: {
    50: '#7e88db',
    500: '#2d5aca',
    950: '#000000',
  },
}
SCSS
$custom: #2d5aca;
$custom-light: #7e88db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5aca",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 222.803,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.18138,
    "h": 264.3
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#2D5ACA
secondary
#CFBA83
accent
#B741E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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