#2B57A4#2B57A4

#2B57A4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.134 H 260.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2B57A4
RGBrgb(43, 87, 164)
HSLhsl(218, 58%, 41%)
HSVhsv(218, 74%, 64%)
CMYKcmyk(73.8%, 47%, 0%, 35.7%)
CIE-LABlab(37.86, 12.27, -46.02)
CIE-LCHlch(37.86, 47.63, 284.93°)
OKLaboklab(46.82% -0.0216 -0.132)
OKLCHoklch(46.82% 0.134 260.7)
XYZxyz(11.1029, 10.0091, 36.4616)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57A4 #A4782B
analogous
#2B93A4 #2B57A4 #3C2BA4
triadic
#2B57A4 #A42B57 #57A42B
tetradic
#2B57A4 #A42B93 #A4782B #2BA43C
square
#2B57A4 #A42B93 #A4782B #2BA43C
split-complementary
#2B57A4 #A43C2B #93A42B
monochromatic
#122443 #1E3D74 #2B57A4 #3F73CD #7096D9

Accessibility & contrast

On white

7.00
#2B57A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2B57A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57A4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57A4#FFFFFF#000000##FFFFFF
##2B57A41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#1254A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b57a4;
/* rgb */ color: rgb(43, 87, 164);
/* oklch */ color: oklch(46.8% 0.134 260.7);
Tailwind
colors: {
  custom: {
    50: '#7585bf',
    500: '#2b57a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b57a4;
$custom-light: #7585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57a4",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 218.182,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.13371,
    "h": 260.7
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#2B57A4
secondary
#C1A16A
accent
#A946E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B57A4

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

Preview Lab → · Contrast checker → · Palette generator →

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