#2B57A1#2B57A1

#2B57A1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.130 H 260.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2B57A1
RGBrgb(43, 87, 161)
HSLhsl(218, 58%, 40%)
HSVhsv(218, 73%, 63%)
CMYKcmyk(73.3%, 46%, 0%, 36.9%)
CIE-LABlab(37.67, 11.12, -44.54)
CIE-LCHlch(37.67, 45.91, 284.02°)
OKLaboklab(46.61% -0.0221 -0.1276)
OKLCHoklch(46.61% 0.13 260.2)
XYZxyz(10.8352, 9.9020, 35.0515)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57A1 #A1752B
analogous
#2B92A1 #2B57A1 #3A2BA1
triadic
#2B57A1 #A12B57 #57A12B
tetradic
#2B57A1 #A12B92 #A1752B #2BA13A
square
#2B57A1 #A12B92 #A1752B #2BA13A
split-complementary
#2B57A1 #A13A2B #92A12B
monochromatic
#112340 #1E3D71 #2B57A1 #3E73CB #6E96D8

Accessibility & contrast

On white

7.05
#2B57A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B57A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B57A1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57A1#FFFFFF#000000##FFFFFF
##2B57A11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b57a1;
/* rgb */ color: rgb(43, 87, 161);
/* oklch */ color: oklch(46.6% 0.130 260.2);
Tailwind
colors: {
  custom: {
    50: '#7485bd',
    500: '#2b57a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b57a1;
$custom-light: #7485bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57a1",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 161
  },
  "hsl": {
    "h": 217.627,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.1295,
    "h": 260.2
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#2B57A1
secondary
#BF9F69
accent
#A847E1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B57A1

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

Preview Lab → · Contrast checker → · Palette generator →

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