#2959CA#2959CA

#2959CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.184 H 263.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2959CA
RGBrgb(41, 89, 202)
HSLhsl(222, 66%, 48%)
HSVhsv(222, 80%, 79%)
CMYKcmyk(79.7%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.02, 25.27, -63.21)
CIE-LCHlch(41.02, 68.08, 291.79°)
OKLaboklab(50.06% -0.0202 -0.1825)
OKLCHoklch(50.06% 0.184 263.7)
XYZxyz(15.1437, 11.8786, 57.3603)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2959CA #CA9A29
analogous
#29A9CA #2959CA #4A29CA
triadic
#2959CA #CA2959 #59CA29
tetradic
#2959CA #CA29A9 #CA9A29 #29CA4A
square
#2959CA #CA29A9 #CA9A29 #29CA4A
split-complementary
#2959CA #CA4A29 #A9CA29
monochromatic
#142C64 #1F4397 #2959CA #547DDC #87A3E7

Accessibility & contrast

On white

6.22
#2959CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2959CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2959CA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2959CA#FFFFFF#000000##FFFFFF
##2959CA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2959ca;
/* rgb */ color: rgb(41, 89, 202);
/* oklch */ color: oklch(50.1% 0.184 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d87db',
    500: '#2959ca',
    950: '#000000',
  },
}
SCSS
$custom: #2959ca;
$custom-light: #7d87db;
$custom-dark: #000000;
JSON
{
  "hex": "#2959ca",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 222.112,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.18362,
    "h": 263.7
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#2959CA
secondary
#D0B87F
accent
#B63FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2959CA

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

Preview Lab → · Contrast checker → · Palette generator →

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