#2853B2#2853B2

#2853B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.159 H 263.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2853B2
RGBrgb(40, 83, 178)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 78%, 70%)
CMYKcmyk(77.5%, 53.4%, 0%, 30.2%)
CIE-LABlab(37.57, 19.92, -54.80)
CIE-LCHlch(37.57, 58.31, 289.98°)
OKLaboklab(46.88% -0.0187 -0.1579)
OKLCHoklch(46.88% 0.159 263.3)
XYZxyz(12.0013, 9.8506, 43.3797)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2853B2 #B28728
analogous
#2898B2 #2853B2 #4228B2
triadic
#2853B2 #B22853 #53B228
tetradic
#2853B2 #B22898 #B28728 #28B242
square
#2853B2 #B22898 #B28728 #28B242
split-complementary
#2853B2 #B24228 #98B228
monochromatic
#12244E #1D3C80 #2853B2 #4370D5 #7596E0

Accessibility & contrast

On white

7.07
#2853B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2853B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2853B2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2853B2#FFFFFF#000000##FFFFFF
##2853B21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2853b2;
/* rgb */ color: rgb(40, 83, 178);
/* oklch */ color: oklch(46.9% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#7782ca',
    500: '#2853b2',
    950: '#000000',
  },
}
SCSS
$custom: #2853b2;
$custom-light: #7782ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2853b2",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 221.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.15898,
    "h": 263.3
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#2853B2
secondary
#C7AC6F
accent
#B341E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2853B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2853B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva