#25229A#25229A

#25229A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.185 H 272.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#25229A
RGBrgb(37, 34, 154)
HSLhsl(242, 64%, 37%)
HSVhsv(242, 78%, 60%)
CMYKcmyk(76%, 77.9%, 0%, 39.6%)
CIE-LABlab(23.24, 42.10, -63.83)
CIE-LCHlch(23.24, 76.47, 303.41°)
OKLaboklab(35.64% 0.0093 -0.1847)
OKLCHoklch(35.64% 0.185 272.9)
XYZxyz(7.1658, 3.8697, 30.9349)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229A #979A22
analogous
#225B9A #25229A #61229A
triadic
#25229A #9A2522 #229A25
tetradic
#25229A #9A225B #979A22 #229A61
square
#25229A #9A225B #979A22 #229A61
split-complementary
#25229A #9A6122 #5B9A22
monochromatic
#0D0C36 #191768 #25229A #312DCC #5F5BDB

Accessibility & contrast

On white

11.84
#25229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#25229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25229A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229A#FFFFFF#000000##FFFFFF
##25229A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25229a;
/* rgb */ color: rgb(37, 34, 154);
/* oklch */ color: oklch(35.6% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#25229a',
    950: '#000000',
  },
}
SCSS
$custom: #25229a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25229a",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 241.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.18495,
    "h": 272.9
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25229A

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

Preview Lab → · Contrast checker → · Palette generator →

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