#2657A7#2657A7

#2657A7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.139 H 259.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2657A7
RGBrgb(38, 87, 167)
HSLhsl(217, 63%, 40%)
HSVhsv(217, 77%, 65%)
CMYKcmyk(77.2%, 47.9%, 0%, 34.5%)
CIE-LABlab(37.87, 12.77, -47.80)
CIE-LCHlch(37.87, 49.47, 284.96°)
OKLaboklab(46.85% -0.0247 -0.1372)
OKLCHoklch(46.85% 0.139 259.8)
XYZxyz(11.1800, 10.0172, 37.8960)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2657A7 #A77626
analogous
#2698A7 #2657A7 #3526A7
triadic
#2657A7 #A72657 #57A726
tetradic
#2657A7 #A72698 #A77626 #26A735
square
#2657A7 #A72698 #A77626 #26A735
split-complementary
#2657A7 #A73526 #98A726
monochromatic
#0F2343 #1B3D75 #2657A7 #3873D2 #6A96DD

Accessibility & contrast

On white

6.99
#2657A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2657A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2657A7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2657A7#FFFFFF#000000##FFFFFF
##2657A71.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#0354A5
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2657a7;
/* rgb */ color: rgb(38, 87, 167);
/* oklch */ color: oklch(46.8% 0.139 259.8);
Tailwind
colors: {
  custom: {
    50: '#7485c2',
    500: '#2657a7',
    950: '#000000',
  },
}
SCSS
$custom: #2657a7;
$custom-light: #7485c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2657a7",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 217.209,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.13945,
    "h": 259.8
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#2657A7
secondary
#C3A065
accent
#A842E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2657A7

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

Preview Lab → · Contrast checker → · Palette generator →

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