#2B57CA#2B57CA

#2B57CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.186 H 264.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2B57CA
RGBrgb(43, 87, 202)
HSLhsl(223, 65%, 48%)
HSVhsv(223, 79%, 79%)
CMYKcmyk(78.7%, 56.9%, 0%, 20.8%)
CIE-LABlab(40.56, 26.77, -63.96)
CIE-LCHlch(40.56, 69.34, 292.71°)
OKLaboklab(49.74% -0.0175 -0.1847)
OKLCHoklch(49.74% 0.186 264.6)
XYZxyz(15.0613, 11.5925, 57.3094)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57CA #CA9E2B
analogous
#2BA6CA #2B57CA #4E2BCA
triadic
#2B57CA #CA2B57 #57CA2B
tetradic
#2B57CA #CA2BA6 #CA9E2B #2BCA4E
square
#2B57CA #CA2BA6 #CA9E2B #2BCA4E
split-complementary
#2B57CA #CA4E2B #A6CA2B
monochromatic
#162C65 #204198 #2B57CA #577CDB #89A3E6

Accessibility & contrast

On white

6.33
#2B57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57CA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57CA#FFFFFF#000000##FFFFFF
##2B57CA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b57ca;
/* rgb */ color: rgb(43, 87, 202);
/* oklch */ color: oklch(49.7% 0.186 264.6);
Tailwind
colors: {
  custom: {
    50: '#7d85db',
    500: '#2b57ca',
    950: '#000000',
  },
}
SCSS
$custom: #2b57ca;
$custom-light: #7d85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57ca",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 223.396,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.18553,
    "h": 264.6
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#2B57CA
secondary
#D0BA81
accent
#B940E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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