#2B57AA#2B57AA

#2B57AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.142 H 261.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2B57AA
RGBrgb(43, 87, 170)
HSLhsl(219, 60%, 42%)
HSVhsv(219, 75%, 67%)
CMYKcmyk(74.7%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.25, 14.57, -48.96)
CIE-LCHlch(38.25, 51.08, 286.57°)
OKLaboklab(47.25% -0.0207 -0.1406)
OKLCHoklch(47.25% 0.142 261.6)
XYZxyz(11.6576, 10.2310, 39.3828)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57AA #AA7E2B
analogous
#2B96AA #2B57AA #3F2BAA
triadic
#2B57AA #AA2B57 #57AA2B
tetradic
#2B57AA #AA2B96 #AA7E2B #2BAA3F
square
#2B57AA #AA2B96 #AA7E2B #2BAA3F
split-complementary
#2B57AA #AA3F2B #96AA2B
monochromatic
#122548 #1F3E79 #2B57AA #4374CF #7498DC

Accessibility & contrast

On white

6.89
#2B57AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B57AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57AA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57AA#FFFFFF#000000##FFFFFF
##2B57AA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b57aa;
/* rgb */ color: rgb(43, 87, 170);
/* oklch */ color: oklch(47.3% 0.142 261.6);
Tailwind
colors: {
  custom: {
    50: '#7685c4',
    500: '#2b57aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b57aa;
$custom-light: #7685c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57aa",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 219.213,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.14209,
    "h": 261.6
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#2B57AA
secondary
#C3A66E
accent
#AC45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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