#2957CA#2957CA

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

Color values

HEX#2957CA
RGBrgb(41, 87, 202)
HSLhsl(223, 66%, 48%)
HSVhsv(223, 80%, 79%)
CMYKcmyk(79.7%, 56.9%, 0%, 20.8%)
CIE-LABlab(40.49, 26.58, -64.08)
CIE-LCHlch(40.49, 69.37, 292.53°)
OKLaboklab(49.66% -0.0189 -0.1851)
OKLCHoklch(49.66% 0.186 264.2)
XYZxyz(14.9795, 11.5503, 57.3056)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2957CA #CA9C29
analogous
#29A8CA #2957CA #4B29CA
triadic
#2957CA #CA2957 #57CA29
tetradic
#2957CA #CA29A8 #CA9C29 #29CA4B
square
#2957CA #CA29A8 #CA9C29 #29CA4B
split-complementary
#2957CA #CA4B29 #A8CA29
monochromatic
#142B64 #1F4197 #2957CA #547BDC #87A2E7

Accessibility & contrast

On white

6.34
#2957CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2957CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2957CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2957CA#FFFFFF#000000##FFFFFF
##2957CA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2957ca;
/* rgb */ color: rgb(41, 87, 202);
/* oklch */ color: oklch(49.7% 0.186 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d85db',
    500: '#2957ca',
    950: '#000000',
  },
}
SCSS
$custom: #2957ca;
$custom-light: #7d85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2957ca",
  "rgb": {
    "r": 41,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 222.857,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49664,
    "c": 0.18603,
    "h": 264.2
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2957CA

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

Preview Lab → · Contrast checker → · Palette generator →

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