#2D5AC1#2D5AC1

#2D5AC1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.169 H 263.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2D5AC1
RGBrgb(45, 90, 193)
HSLhsl(222, 62%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(76.7%, 53.4%, 0%, 24.3%)
CIE-LABlab(40.77, 21.63, -58.41)
CIE-LCHlch(40.77, 62.28, 290.32°)
OKLaboklab(49.7% -0.0188 -0.1683)
OKLCHoklch(49.7% 0.169 263.6)
XYZxyz(14.3606, 11.7188, 51.9468)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AC1 #C1942D
analogous
#2DA4C1 #2D5AC1 #4A2DC1
triadic
#2D5AC1 #C12D5A #5AC12D
tetradic
#2D5AC1 #C12DA4 #C1942D #2DC14A
square
#2D5AC1 #C12DA4 #C1942D #2DC14A
split-complementary
#2D5AC1 #C14A2D #A4C12D
monochromatic
#162C5E #21438F #2D5AC1 #547CD7 #86A2E3

Accessibility & contrast

On white

6.28
#2D5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2D5AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AC1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AC1#FFFFFF#000000##FFFFFF
##2D5AC11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5ac1;
/* rgb */ color: rgb(45, 90, 193);
/* oklch */ color: oklch(49.7% 0.169 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c88d4',
    500: '#2d5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ac1;
$custom-light: #7c88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ac1",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 221.757,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.16934,
    "h": 263.6
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#2D5AC1
secondary
#CCB47E
accent
#B443E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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