#2954CA#2954CA

#2954CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.190 H 264.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2954CA
RGBrgb(41, 84, 202)
HSLhsl(224, 66%, 48%)
HSVhsv(224, 80%, 79%)
CMYKcmyk(79.7%, 58.4%, 0%, 20.8%)
CIE-LABlab(39.71, 28.53, -65.36)
CIE-LCHlch(39.71, 71.31, 293.58°)
OKLaboklab(49.07% -0.017 -0.1889)
OKLCHoklch(49.07% 0.19 264.9)
XYZxyz(14.7417, 11.0746, 57.2263)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2954CA #CA9F29
analogous
#29A5CA #2954CA #4E29CA
triadic
#2954CA #CA2954 #54CA29
tetradic
#2954CA #CA29A5 #CA9F29 #29CA4E
square
#2954CA #CA29A5 #CA9F29 #29CA4E
split-complementary
#2954CA #CA4E29 #A5CA29
monochromatic
#142A64 #1F3F97 #2954CA #5478DC #87A0E7

Accessibility & contrast

On white

6.53
#2954CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2954CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2954CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2954CA#FFFFFF#000000##FFFFFF
##2954CA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2954ca;
/* rgb */ color: rgb(41, 84, 202);
/* oklch */ color: oklch(49.1% 0.190 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d83db',
    500: '#2954ca',
    950: '#000000',
  },
}
SCSS
$custom: #2954ca;
$custom-light: #7d83db;
$custom-dark: #000000;
JSON
{
  "hex": "#2954ca",
  "rgb": {
    "r": 41,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 223.975,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.18965,
    "h": 264.9
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#2954CA
secondary
#D0BA7F
accent
#BC3FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2954CA

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

Preview Lab → · Contrast checker → · Palette generator →

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