#25206C#25206C

#25206C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.127 H 278.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#25206C
RGBrgb(37, 32, 108)
HSLhsl(244, 54%, 27%)
HSVhsv(244, 70%, 42%)
CMYKcmyk(65.7%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.96, 27.34, -43.49)
CIE-LCHlch(17.96, 51.37, 302.15°)
OKLaboklab(30.42% 0.0191 -0.1254)
OKLCHoklch(30.42% 0.127 278.7)
XYZxyz(3.9854, 2.5087, 14.4587)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25206C #676C20
analogous
#20416C #25206C #4B206C
triadic
#25206C #6C2520 #206C25
tetradic
#25206C #6C2041 #676C20 #206C4B
square
#25206C #6C2041 #676C20 #206C4B
split-complementary
#25206C #6C4B20 #416C20
monochromatic
#080718 #15123D #25206C #352E9B #4940C6

Accessibility & contrast

On white

13.98
#25206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25206C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25206C#FFFFFF#000000##FFFFFF
##25206C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25206c;
/* rgb */ color: rgb(37, 32, 108);
/* oklch */ color: oklch(30.4% 0.127 278.7);
Tailwind
colors: {
  custom: {
    50: '#695c97',
    500: '#25206c',
    950: '#000000',
  },
}
SCSS
$custom: #25206c;
$custom-light: #695c97;
$custom-dark: #000000;
JSON
{
  "hex": "#25206c",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 243.947,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.1268,
    "h": 278.7
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#25206C
secondary
#9AA048
accent
#DE4AD4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25206C

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

Preview Lab → · Contrast checker → · Palette generator →

#25206C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva