#2956CA#2956CA

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

Color values

HEX#2956CA
RGBrgb(41, 86, 202)
HSLhsl(223, 66%, 48%)
HSVhsv(223, 80%, 79%)
CMYKcmyk(79.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.23, 27.23, -64.50)
CIE-LCHlch(40.23, 70.02, 292.89°)
OKLaboklab(49.47% -0.0183 -0.1863)
OKLCHoklch(49.47% 0.187 264.4)
XYZxyz(14.8991, 11.3895, 57.2788)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956CA #CA9D29
analogous
#29A6CA #2956CA #4D29CA
triadic
#2956CA #CA2956 #56CA29
tetradic
#2956CA #CA29A6 #CA9D29 #29CA4D
square
#2956CA #CA29A6 #CA9D29 #29CA4D
split-complementary
#2956CA #CA4D29 #A6CA29
monochromatic
#142B64 #1F4097 #2956CA #547ADC #87A2E7

Accessibility & contrast

On white

6.41
#2956CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2956CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956CA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956CA#FFFFFF#000000##FFFFFF
##2956CA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.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: #2956ca;
/* rgb */ color: rgb(41, 86, 202);
/* oklch */ color: oklch(49.5% 0.187 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d85db',
    500: '#2956ca',
    950: '#000000',
  },
}
SCSS
$custom: #2956ca;
$custom-light: #7d85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2956ca",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 223.23,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.18724,
    "h": 264.4
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#2956CA
secondary
#D0B97F
accent
#BA3FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2956CA

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

Preview Lab → · Contrast checker → · Palette generator →

#2956CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva