#2657AB#2657AB

#2657AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.145 H 260.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2657AB
RGBrgb(38, 87, 171)
HSLhsl(218, 64%, 41%)
HSVhsv(218, 78%, 67%)
CMYKcmyk(77.8%, 49.1%, 0%, 32.9%)
CIE-LABlab(38.14, 14.33, -49.74)
CIE-LCHlch(38.14, 51.76, 286.07°)
OKLaboklab(47.14% -0.0241 -0.143)
OKLCHoklch(47.14% 0.145 260.4)
XYZxyz(11.5555, 10.1674, 39.8737)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2657AB #AB7A26
analogous
#2699AB #2657AB #3826AB
triadic
#2657AB #AB2657 #57AB26
tetradic
#2657AB #AB2699 #AB7A26 #26AB38
square
#2657AB #AB2699 #AB7A26 #26AB38
split-complementary
#2657AB #AB3826 #99AB26
monochromatic
#102447 #1B3E79 #2657AB #3B73D3 #6D97DF

Accessibility & contrast

On white

6.92
#2657AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2657AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2657AB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2657AB#FFFFFF#000000##FFFFFF
##2657AB1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2657ab;
/* rgb */ color: rgb(38, 87, 171);
/* oklch */ color: oklch(47.1% 0.145 260.4);
Tailwind
colors: {
  custom: {
    50: '#7485c5',
    500: '#2657ab',
    950: '#000000',
  },
}
SCSS
$custom: #2657ab;
$custom-light: #7485c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2657ab",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 217.895,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.14498,
    "h": 260.4
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#2657AB
secondary
#C5A368
accent
#AA41E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2657AB

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

Preview Lab → · Contrast checker → · Palette generator →

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