#2955AF#2955AF

#2955AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.152 H 262.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2955AF
RGBrgb(41, 85, 175)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(76.6%, 51.4%, 0%, 31.4%)
CIE-LABlab(37.95, 17.56, -52.41)
CIE-LCHlch(37.95, 55.27, 288.52°)
OKLaboklab(47.11% -0.0198 -0.1508)
OKLCHoklch(47.11% 0.152 262.5)
XYZxyz(11.8980, 10.0622, 41.8643)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2955AF #AF8329
analogous
#2998AF #2955AF #4029AF
triadic
#2955AF #AF2955 #55AF29
tetradic
#2955AF #AF2998 #AF8329 #29AF40
square
#2955AF #AF2998 #AF8329 #29AF40
split-complementary
#2955AF #AF4029 #98AF29
monochromatic
#12254C #1D3D7D #2955AF #4272D3 #7497DE

Accessibility & contrast

On white

6.97
#2955AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2955AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2955AF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2955AF#FFFFFF#000000##FFFFFF
##2955AF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2955af;
/* rgb */ color: rgb(41, 85, 175);
/* oklch */ color: oklch(47.1% 0.152 262.5);
Tailwind
colors: {
  custom: {
    50: '#7684c7',
    500: '#2955af',
    950: '#000000',
  },
}
SCSS
$custom: #2955af;
$custom-light: #7684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2955af",
  "rgb": {
    "r": 41,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 220.299,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.1521,
    "h": 262.5
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#2955AF
secondary
#C6A96E
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2955AF

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

Preview Lab → · Contrast checker → · Palette generator →

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