#2657A2#2657A2

#2657A2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.133 H 258.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2657A2
RGBrgb(38, 87, 162)
HSLhsl(216, 62%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(76.5%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.55, 10.82, -45.34)
CIE-LCHlch(37.55, 46.62, 283.43°)
OKLaboklab(46.49% -0.0256 -0.13)
OKLCHoklch(46.49% 0.133 258.9)
XYZxyz(10.7267, 9.8359, 35.5086)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2657A2 #A27126
analogous
#2695A2 #2657A2 #3326A2
triadic
#2657A2 #A22657 #57A226
tetradic
#2657A2 #A22695 #A27126 #26A233
square
#2657A2 #A22695 #A27126 #26A233
split-complementary
#2657A2 #A23326 #95A226
monochromatic
#0F223F #1A3C70 #2657A2 #3572D0 #6795DB

Accessibility & contrast

On white

7.08
#2657A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2657A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2657A2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2657A2#FFFFFF#000000##FFFFFF
##2657A21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2657a2;
/* rgb */ color: rgb(38, 87, 162);
/* oklch */ color: oklch(46.5% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#7285be',
    500: '#2657a2',
    950: '#000000',
  },
}
SCSS
$custom: #2657a2;
$custom-light: #7285be;
$custom-dark: #000000;
JSON
{
  "hex": "#2657a2",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 216.29,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4649,
    "c": 0.13251,
    "h": 258.9
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#2657A2
secondary
#C19C63
accent
#A543E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2657A2

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

Preview Lab → · Contrast checker → · Palette generator →

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