#2B57C3#2B57C3

#2B57C3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.176 H 264.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2B57C3
RGBrgb(43, 87, 195)
HSLhsl(223, 64%, 47%)
HSVhsv(223, 78%, 76%)
CMYKcmyk(77.9%, 55.4%, 0%, 23.5%)
CIE-LABlab(40.03, 24.12, -60.77)
CIE-LCHlch(40.03, 65.38, 291.65°)
OKLaboklab(49.17% -0.0179 -0.1753)
OKLCHoklch(49.17% 0.176 264.2)
XYZxyz(14.2513, 11.2685, 53.0431)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57C3 #C3972B
analogous
#2BA3C3 #2B57C3 #4B2BC3
triadic
#2B57C3 #C32B57 #57C32B
tetradic
#2B57C3 #C32BA3 #C3972B #2BC34B
square
#2B57C3 #C32BA3 #C3972B #2BC34B
split-complementary
#2B57C3 #C34B2B #A3C32B
monochromatic
#152A5F #204191 #2B57C3 #5279D9 #84A0E4

Accessibility & contrast

On white

6.45
#2B57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57C3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57C3#FFFFFF#000000##FFFFFF
##2B57C31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b57c3;
/* rgb */ color: rgb(43, 87, 195);
/* oklch */ color: oklch(49.2% 0.176 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c85d6',
    500: '#2b57c3',
    950: '#000000',
  },
}
SCSS
$custom: #2b57c3;
$custom-light: #7c85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57c3",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 222.632,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.17624,
    "h": 264.2
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#2B57C3
secondary
#CDB67D
accent
#B741E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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