#2B56CA#2B56CA

#2B56CA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.187 H 264.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2B56CA
RGBrgb(43, 86, 202)
HSLhsl(224, 65%, 48%)
HSVhsv(224, 79%, 79%)
CMYKcmyk(78.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.30, 27.42, -64.39)
CIE-LCHlch(40.30, 69.98, 293.07°)
OKLaboklab(49.54% -0.0168 -0.186)
OKLCHoklch(49.54% 0.187 264.8)
XYZxyz(14.9809, 11.4317, 57.2826)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56CA #CA9F2B
analogous
#2BA5CA #2B56CA #502BCA
triadic
#2B56CA #CA2B56 #56CA2B
tetradic
#2B56CA #CA2BA5 #CA9F2B #2BCA50
square
#2B56CA #CA2BA5 #CA9F2B #2BCA50
split-complementary
#2B56CA #CA502B #A5CA2B
monochromatic
#162B65 #204198 #2B56CA #577BDB #89A2E6

Accessibility & contrast

On white

6.39
#2B56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2B56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56CA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56CA#FFFFFF#000000##FFFFFF
##2B56CA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b56ca;
/* rgb */ color: rgb(43, 86, 202);
/* oklch */ color: oklch(49.5% 0.187 264.8);
Tailwind
colors: {
  custom: {
    50: '#7d85db',
    500: '#2b56ca',
    950: '#000000',
  },
}
SCSS
$custom: #2b56ca;
$custom-light: #7d85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56ca",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 223.774,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.18674,
    "h": 264.8
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#2B56CA
secondary
#D0BA81
accent
#BA40E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2B56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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