#2657C2#2657C2

#2657C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.176 H 263.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2657C2
RGBrgb(38, 87, 194)
HSLhsl(221, 67%, 45%)
HSVhsv(221, 80%, 76%)
CMYKcmyk(80.4%, 55.2%, 0%, 23.9%)
CIE-LABlab(39.78, 23.24, -60.59)
CIE-LCHlch(39.78, 64.89, 290.98°)
OKLaboklab(48.91% -0.0215 -0.1749)
OKLCHoklch(48.91% 0.176 263)
XYZxyz(13.9416, 11.1218, 52.4404)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2657C2 #C29126
analogous
#26A5C2 #2657C2 #4326C2
triadic
#2657C2 #C22657 #57C226
tetradic
#2657C2 #C226A5 #C29126 #26C243
square
#2657C2 #C226A5 #C29126 #26C243
split-complementary
#2657C2 #C24326 #A5C226
monochromatic
#12295C #1C408F #2657C2 #4A77DB #7D9EE6

Accessibility & contrast

On white

6.51
#2657C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2657C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2657C2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2657C2#FFFFFF#000000##FFFFFF
##2657C21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2657c2;
/* rgb */ color: rgb(38, 87, 194);
/* oklch */ color: oklch(48.9% 0.176 263.0);
Tailwind
colors: {
  custom: {
    50: '#7a85d5',
    500: '#2657c2',
    950: '#000000',
  },
}
SCSS
$custom: #2657c2;
$custom-light: #7a85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2657c2",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 221.154,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.17618,
    "h": 263
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#2657C2
secondary
#CEB276
accent
#B43EEA
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2657C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2657C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva