#2855AF#2855AF

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

Color values

HEX#2855AF
RGBrgb(40, 85, 175)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.1%, 51.4%, 0%, 31.4%)
CIE-LABlab(37.92, 17.44, -52.47)
CIE-LCHlch(37.92, 55.29, 288.39°)
OKLaboklab(47.08% -0.0205 -0.151)
OKLCHoklch(47.08% 0.152 262.3)
XYZxyz(11.8587, 10.0419, 41.8624)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AF #AF8228
analogous
#2899AF #2855AF #3E28AF
triadic
#2855AF #AF2855 #55AF28
tetradic
#2855AF #AF2899 #AF8228 #28AF3E
square
#2855AF #AF2899 #AF8228 #28AF3E
split-complementary
#2855AF #AF3E28 #99AF28
monochromatic
#11254B #1D3D7D #2855AF #4172D4 #7397DF

Accessibility & contrast

On white

6.98
#2855AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2855AF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855AF#FFFFFF#000000##FFFFFF
##2855AF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2855af;
/* rgb */ color: rgb(40, 85, 175);
/* oklch */ color: oklch(47.1% 0.152 262.3);
Tailwind
colors: {
  custom: {
    50: '#7684c7',
    500: '#2855af',
    950: '#000000',
  },
}
SCSS
$custom: #2855af;
$custom-light: #7684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2855af",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.15238,
    "h": 262.3
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#2855AF
secondary
#C6A86D
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855AF

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

Preview Lab → · Contrast checker → · Palette generator →

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