#2B57AE#2B57AE

#2B57AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.148 H 262.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2B57AE
RGBrgb(43, 87, 174)
HSLhsl(220, 60%, 43%)
HSVhsv(220, 75%, 68%)
CMYKcmyk(75.3%, 50%, 0%, 31.8%)
CIE-LABlab(38.52, 16.11, -50.89)
CIE-LCHlch(38.52, 53.38, 287.56°)
OKLaboklab(47.55% -0.0201 -0.1463)
OKLCHoklch(47.55% 0.148 262.2)
XYZxyz(12.0417, 10.3846, 41.4060)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57AE #AE822B
analogous
#2B99AE #2B57AE #402BAE
triadic
#2B57AE #AE2B57 #57AE2B
tetradic
#2B57AE #AE2B99 #AE822B #2BAE40
square
#2B57AE #AE2B99 #AE822B #2BAE40
split-complementary
#2B57AE #AE402B #99AE2B
monochromatic
#13264C #1F3E7D #2B57AE #4574D1 #7699DD

Accessibility & contrast

On white

6.82
#2B57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2B57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57AE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57AE#FFFFFF#000000##FFFFFF
##2B57AE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b57ae;
/* rgb */ color: rgb(43, 87, 174);
/* oklch */ color: oklch(47.5% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2b57ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b57ae;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57ae",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 219.847,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.14764,
    "h": 262.2
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#2B57AE
secondary
#C5A870
accent
#AE44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B57AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2B57AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva