#2B57AC#2B57AC

#2B57AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.145 H 261.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2B57AC
RGBrgb(43, 87, 172)
HSLhsl(220, 60%, 42%)
HSVhsv(220, 75%, 67%)
CMYKcmyk(75%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.39, 15.34, -49.93)
CIE-LCHlch(38.39, 52.23, 287.08°)
OKLaboklab(47.4% -0.0204 -0.1434)
OKLCHoklch(47.4% 0.145 261.9)
XYZxyz(11.8482, 10.3072, 40.3868)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57AC #AC802B
analogous
#2B98AC #2B57AC #402BAC
triadic
#2B57AC #AC2B57 #57AC2B
tetradic
#2B57AC #AC2B98 #AC802B #2BAC40
square
#2B57AC #AC2B98 #AC802B #2BAC40
split-complementary
#2B57AC #AC402B #98AC2B
monochromatic
#13254A #1F3E7B #2B57AC #4474D0 #7598DC

Accessibility & contrast

On white

6.86
#2B57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B57AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57AC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57AC#FFFFFF#000000##FFFFFF
##2B57AC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b57ac;
/* rgb */ color: rgb(43, 87, 172);
/* oklch */ color: oklch(47.4% 0.145 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c5',
    500: '#2b57ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b57ac;
$custom-light: #7685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57ac",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 219.535,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.474,
    "c": 0.14487,
    "h": 261.9
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#2B57AC
secondary
#C4A76F
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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