#2563C1#2563C1

#2563C1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.161 H 259.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2563C1
RGBrgb(37, 99, 193)
HSLhsl(216, 68%, 45%)
HSVhsv(216, 81%, 76%)
CMYKcmyk(80.8%, 48.7%, 0%, 24.3%)
CIE-LABlab(43.01, 14.92, -54.79)
CIE-LCHlch(43.01, 56.78, 285.23°)
OKLaboklab(51.34% -0.0308 -0.1576)
OKLCHoklch(51.34% 0.161 259)
XYZxyz(14.8469, 13.1655, 52.2004)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2563C1 #C18325
analogous
#25B1C1 #2563C1 #3525C1
triadic
#2563C1 #C12563 #63C125
tetradic
#2563C1 #C125B1 #C18325 #25C135
square
#2563C1 #C125B1 #C18325 #25C135
split-complementary
#2563C1 #C13525 #B1C125
monochromatic
#112E5A #1B498E #2563C1 #4782DC #7BA5E6

Accessibility & contrast

On white

5.78
#2563C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2563C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2563C1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2563C1#FFFFFF#000000##FFFFFF
##2563C11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2563c1;
/* rgb */ color: rgb(37, 99, 193);
/* oklch */ color: oklch(51.3% 0.161 259.0);
Tailwind
colors: {
  custom: {
    50: '#798ed4',
    500: '#2563c1',
    950: '#000000',
  },
}
SCSS
$custom: #2563c1;
$custom-light: #798ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2563c1",
  "rgb": {
    "r": 37,
    "g": 99,
    "b": 193
  },
  "hsl": {
    "h": 216.154,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.16056,
    "h": 259
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#2563C1
secondary
#CEAA74
accent
#A63DEB
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2563C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2563C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva