#2950AF#2950AF

#2950AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.158 H 264.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2950AF
RGBrgb(41, 80, 175)
HSLhsl(223, 62%, 42%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(76.6%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.56, 20.88, -54.66)
CIE-LCHlch(36.56, 58.51, 290.90°)
OKLaboklab(46.06% -0.0159 -0.1575)
OKLCHoklch(46.06% 0.158 264.2)
XYZxyz(11.5182, 9.3026, 41.7377)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2950AF #AF8829
analogous
#2993AF #2950AF #4529AF
triadic
#2950AF #AF2950 #50AF29
tetradic
#2950AF #AF2993 #AF8829 #29AF45
square
#2950AF #AF2993 #AF8829 #29AF45
split-complementary
#2950AF #AF4529 #93AF29
monochromatic
#12234C #1D397D #2950AF #426CD3 #7493DE

Accessibility & contrast

On white

7.34
#2950AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2950AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2950AF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2950AF#FFFFFF#000000##FFFFFF
##2950AF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2950af;
/* rgb */ color: rgb(41, 80, 175);
/* oklch */ color: oklch(46.1% 0.158 264.2);
Tailwind
colors: {
  custom: {
    50: '#7780c8',
    500: '#2950af',
    950: '#000000',
  },
}
SCSS
$custom: #2950af;
$custom-light: #7780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2950af",
  "rgb": {
    "r": 41,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 222.537,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.15832,
    "h": 264.2
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#2950AF
secondary
#C6AC6E
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2950AF

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

Preview Lab → · Contrast checker → · Palette generator →

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