#2825A8#2825A8

#2825A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.198 H 272.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2825A8
RGBrgb(40, 37, 168)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 66%)
CMYKcmyk(76.2%, 78%, 0%, 34.1%)
CIE-LABlab(25.56, 45.33, -68.49)
CIE-LCHlch(25.56, 82.13, 303.50°)
OKLaboklab(37.79% 0.0088 -0.1982)
OKLCHoklch(37.79% 0.198 272.5)
XYZxyz(8.6022, 4.6005, 37.4728)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2825A8 #A5A825
analogous
#2563A8 #2825A8 #6925A8
triadic
#2825A8 #A82825 #25A828
tetradic
#2825A8 #A82563 #A5A825 #25A869
square
#2825A8 #A82563 #A5A825 #25A869
split-complementary
#2825A8 #A86925 #63A825
monochromatic
#100F44 #1C1A76 #2825A8 #3B37D3 #6C69DE

Accessibility & contrast

On white

10.94
#2825A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2825A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2825A8
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2825A8#FFFFFF#000000##FFFFFF
##2825A81.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2825a8;
/* rgb */ color: rgb(40, 37, 168);
/* oklch */ color: oklch(37.8% 0.198 272.5);
Tailwind
colors: {
  custom: {
    50: '#7862c3',
    500: '#2825a8',
    950: '#000000',
  },
}
SCSS
$custom: #2825a8;
$custom-light: #7862c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2825a8",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 241.374,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.19842,
    "h": 272.5
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#2825A8
secondary
#C2C465
accent
#E741E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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