#2952AF#2952AF

#2952AF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.156 H 263.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2952AF
RGBrgb(41, 82, 175)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 77%, 69%)
CMYKcmyk(76.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.11, 19.55, -53.77)
CIE-LCHlch(37.11, 57.21, 289.98°)
OKLaboklab(46.48% -0.0174 -0.1548)
OKLCHoklch(46.48% 0.156 263.6)
XYZxyz(11.6669, 9.5998, 41.7872)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2952AF #AF8629
analogous
#2995AF #2952AF #4329AF
triadic
#2952AF #AF2952 #52AF29
tetradic
#2952AF #AF2995 #AF8629 #29AF43
square
#2952AF #AF2995 #AF8629 #29AF43
split-complementary
#2952AF #AF4329 #95AF29
monochromatic
#12244C #1D3B7D #2952AF #426FD3 #7495DE

Accessibility & contrast

On white

7.19
#2952AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2952AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2952AF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2952AF#FFFFFF#000000##FFFFFF
##2952AF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2952af;
/* rgb */ color: rgb(41, 82, 175);
/* oklch */ color: oklch(46.5% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#7782c8',
    500: '#2952af',
    950: '#000000',
  },
}
SCSS
$custom: #2952af;
$custom-light: #7782c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2952af",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 221.642,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.15583,
    "h": 263.6
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#2952AF
secondary
#C6AB6E
accent
#B343E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2952AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2952AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva