#25229C#25229C

#25229C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.187 H 272.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#25229C
RGBrgb(37, 34, 156)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 61%)
CMYKcmyk(76.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(23.46, 42.77, -64.68)
CIE-LCHlch(23.46, 77.54, 303.47°)
OKLaboklab(35.86% 0.0089 -0.1872)
OKLCHoklch(35.86% 0.187 272.7)
XYZxyz(7.3337, 3.9369, 31.8194)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229C #999C22
analogous
#225C9C #25229C #62229C
triadic
#25229C #9C2522 #229C25
tetradic
#25229C #9C225C #999C22 #229C62
square
#25229C #9C225C #999C22 #229C62
split-complementary
#25229C #9C6222 #5C9C22
monochromatic
#0D0C38 #19176A #25229C #312DCE #605DDC

Accessibility & contrast

On white

11.75
#25229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25229C
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229C#FFFFFF#000000##FFFFFF
##25229C1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25229c;
/* rgb */ color: rgb(37, 34, 156);
/* oklch */ color: oklch(35.9% 0.187 272.7);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#25229c',
    950: '#000000',
  },
}
SCSS
$custom: #25229c;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#25229c",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 241.475,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.18741,
    "h": 272.7
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#25229C
secondary
#BEC05A
accent
#E741E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25229C

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

Preview Lab → · Contrast checker → · Palette generator →

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