#2825BC#2825BC

#2825BC is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.222 H 271.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2825BC
RGBrgb(40, 37, 188)
HSLhsl(241, 67%, 44%)
HSVhsv(241, 80%, 74%)
CMYKcmyk(78.7%, 80.3%, 0%, 26.3%)
CIE-LABlab(27.86, 51.72, -76.66)
CIE-LCHlch(27.86, 92.47, 304.01°)
OKLaboklab(40.06% 0.0045 -0.2219)
OKLCHoklch(40.06% 0.222 271.2)
XYZxyz(10.6107, 5.4039, 48.0510)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825BC #B9BC25
analogous
#256EBC #2825BC #7425BC
triadic
#2825BC #BC2825 #25BC28
tetradic
#2825BC #BC256E #B9BC25 #25BC74
square
#2825BC #BC256E #B9BC25 #25BC74
split-complementary
#2825BC #BC7425 #6EBC25
monochromatic
#121156 #1D1B89 #2825BC #4744DA #7977E4

Accessibility & contrast

On white

10.09
#2825BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2825BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825BC
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825BC#FFFFFF#000000##FFFFFF
##2825BC1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2825bc;
/* rgb */ color: rgb(40, 37, 188);
/* oklch */ color: oklch(40.1% 0.222 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2825bc',
    950: '#000000',
  },
}
SCSS
$custom: #2825bc;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2825bc",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 241.192,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.22195,
    "h": 271.2
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#2825BC
secondary
#CACC71
accent
#EA3EE7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2825BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2825BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva