#2956AF#2956AF

#2956AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.151 H 262.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2956AF
RGBrgb(41, 86, 175)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(76.6%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.24, 16.90, -51.95)
CIE-LCHlch(38.24, 54.63, 288.02°)
OKLaboklab(47.33% -0.0206 -0.1494)
OKLCHoklch(47.33% 0.151 262.1)
XYZxyz(11.9773, 10.2208, 41.8907)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2956AF #AF8229
analogous
#2999AF #2956AF #3F29AF
triadic
#2956AF #AF2956 #56AF29
tetradic
#2956AF #AF2999 #AF8229 #29AF3F
square
#2956AF #AF2999 #AF8229 #29AF3F
split-complementary
#2956AF #AF3F29 #99AF29
monochromatic
#12254C #1D3E7D #2956AF #4273D3 #7498DE

Accessibility & contrast

On white

6.90
#2956AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2956AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2956AF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2956AF#FFFFFF#000000##FFFFFF
##2956AF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2956af;
/* rgb */ color: rgb(41, 86, 175);
/* oklch */ color: oklch(47.3% 0.151 262.1);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2956af',
    950: '#000000',
  },
}
SCSS
$custom: #2956af;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2956af",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 219.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47328,
    "c": 0.15085,
    "h": 262.1
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#2956AF
secondary
#C6A86E
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2956AF

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

Preview Lab → · Contrast checker → · Palette generator →

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