#2825AF#2825AF

#2825AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.207 H 272.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2825AF
RGBrgb(40, 37, 175)
HSLhsl(241, 65%, 42%)
HSVhsv(241, 79%, 69%)
CMYKcmyk(77.1%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.36, 47.60, -71.40)
CIE-LCHlch(26.36, 85.81, 303.69°)
OKLaboklab(38.57% 0.0073 -0.2066)
OKLCHoklch(38.57% 0.207 272)
XYZxyz(9.2719, 4.8684, 41.0002)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825AF #ACAF25
analogous
#2567AF #2825AF #6D25AF
triadic
#2825AF #AF2825 #25AF28
tetradic
#2825AF #AF2567 #ACAF25 #25AF6D
square
#2825AF #AF2567 #ACAF25 #25AF6D
split-complementary
#2825AF #AF6D25 #67AF25
monochromatic
#11104A #1C1A7C #2825AF #3F3CD6 #716EE0

Accessibility & contrast

On white

10.64
#2825AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2825AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825AF
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825AF#FFFFFF#000000##FFFFFF
##2825AF1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2825af;
/* rgb */ color: rgb(40, 37, 175);
/* oklch */ color: oklch(38.6% 0.207 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2825af',
    950: '#000000',
  },
}
SCSS
$custom: #2825af;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2825af",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 241.304,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.20678,
    "h": 272
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2825AF
secondary
#C5C769
accent
#E840E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2825AF

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

Preview Lab → · Contrast checker → · Palette generator →

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