#2657A4#2657A4

#2657A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.135 H 259.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2657A4
RGBrgb(38, 87, 164)
HSLhsl(217, 62%, 40%)
HSVhsv(217, 77%, 64%)
CMYKcmyk(76.8%, 47%, 0%, 35.7%)
CIE-LABlab(37.68, 11.60, -46.33)
CIE-LCHlch(37.68, 47.76, 284.06°)
OKLaboklab(46.63% -0.0252 -0.1329)
OKLCHoklch(46.63% 0.135 259.3)
XYZxyz(10.9059, 9.9076, 36.4523)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2657A4 #A47326
analogous
#2696A4 #2657A4 #3426A4
triadic
#2657A4 #A42657 #57A426
tetradic
#2657A4 #A42696 #A47326 #26A434
square
#2657A4 #A42696 #A47326 #26A434
split-complementary
#2657A4 #A43426 #96A426
monochromatic
#0F2241 #1A3D72 #2657A4 #3772D1 #6895DC

Accessibility & contrast

On white

7.04
#2657A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2657A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2657A4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2657A4#FFFFFF#000000##FFFFFF
##2657A41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#0E53A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2657a4;
/* rgb */ color: rgb(38, 87, 164);
/* oklch */ color: oklch(46.6% 0.135 259.3);
Tailwind
colors: {
  custom: {
    50: '#7385bf',
    500: '#2657a4',
    950: '#000000',
  },
}
SCSS
$custom: #2657a4;
$custom-light: #7385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2657a4",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 216.667,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.13528,
    "h": 259.3
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#2657A4
secondary
#C29D64
accent
#A642E5
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2657A4

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

Preview Lab → · Contrast checker → · Palette generator →

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