#2B57A3#2B57A3

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

Color values

HEX#2B57A3
RGBrgb(43, 87, 163)
HSLhsl(218, 58%, 40%)
HSVhsv(218, 74%, 64%)
CMYKcmyk(73.6%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.79, 11.89, -45.53)
CIE-LCHlch(37.79, 47.06, 284.63°)
OKLaboklab(46.75% -0.0218 -0.1305)
OKLCHoklch(46.75% 0.132 260.5)
XYZxyz(11.0129, 9.9731, 35.9878)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57A3 #A3772B
analogous
#2B93A3 #2B57A3 #3B2BA3
triadic
#2B57A3 #A32B57 #57A32B
tetradic
#2B57A3 #A32B93 #A3772B #2BA33B
square
#2B57A3 #A32B93 #A3772B #2BA33B
split-complementary
#2B57A3 #A33B2B #93A32B
monochromatic
#112342 #1E3D73 #2B57A3 #3F73CC #6F96D9

Accessibility & contrast

On white

7.01
#2B57A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2B57A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B57A3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57A3#FFFFFF#000000##FFFFFF
##2B57A31.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#1554A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b57a3;
/* rgb */ color: rgb(43, 87, 163);
/* oklch */ color: oklch(46.8% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2b57a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b57a3;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57a3",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 218,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.13231,
    "h": 260.5
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#2B57A3
secondary
#C0A06A
accent
#A946E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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