#2551CA#2551CA

#2551CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.194 H 264.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2551CA
RGBrgb(37, 81, 202)
HSLhsl(224, 69%, 47%)
HSVhsv(224, 82%, 79%)
CMYKcmyk(81.7%, 59.9%, 0%, 20.8%)
CIE-LABlab(38.80, 30.13, -66.85)
CIE-LCHlch(38.80, 73.32, 294.26°)
OKLaboklab(48.36% -0.018 -0.1934)
OKLCHoklch(48.36% 0.194 264.7)
XYZxyz(14.3623, 10.5407, 57.1433)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551CA #CA9E25
analogous
#25A4CA #2551CA #4C25CA
triadic
#2551CA #CA2551 #51CA25
tetradic
#2551CA #CA25A4 #CA9E25 #25CA4C
square
#2551CA #CA25A4 #CA9E25 #25CA4C
split-complementary
#2551CA #CA4C25 #A4CA25
monochromatic
#122863 #1C3C96 #2551CA #4E74DF #819DE8

Accessibility & contrast

On white

6.76
#2551CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2551CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2551CA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551CA#FFFFFF#000000##FFFFFF
##2551CA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2551ca;
/* rgb */ color: rgb(37, 81, 202);
/* oklch */ color: oklch(48.4% 0.194 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c81db',
    500: '#2551ca',
    950: '#000000',
  },
}
SCSS
$custom: #2551ca;
$custom-light: #7c81db;
$custom-dark: #000000;
JSON
{
  "hex": "#2551ca",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 224,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.1942,
    "h": 264.7
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#2551CA
secondary
#D1BA7A
accent
#BD3CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2551CA

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

Preview Lab → · Contrast checker → · Palette generator →

#2551CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva