#25229F#25229F

#25229F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.191 H 272.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#25229F
RGBrgb(37, 34, 159)
HSLhsl(241, 65%, 38%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(76.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.80, 43.76, -65.95)
CIE-LCHlch(23.80, 79.15, 303.56°)
OKLaboklab(36.2% 0.0082 -0.1909)
OKLCHoklch(36.2% 0.191 272.5)
XYZxyz(7.5909, 4.0398, 33.1739)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229F #9C9F22
analogous
#225D9F #25229F #63229F
triadic
#25229F #9F2522 #229F25
tetradic
#25229F #9F225D #9C9F22 #229F63
square
#25229F #9F225D #9C9F22 #229F63
split-complementary
#25229F #9F6322 #5D9F22
monochromatic
#0E0C3A #19176D #25229F #312DD1 #625FDD

Accessibility & contrast

On white

11.61
#25229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#25229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25229F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229F#FFFFFF#000000##FFFFFF
##25229F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25229f;
/* rgb */ color: rgb(37, 34, 159);
/* oklch */ color: oklch(36.2% 0.191 272.5);
Tailwind
colors: {
  custom: {
    50: '#7560bd',
    500: '#25229f',
    950: '#000000',
  },
}
SCSS
$custom: #25229f;
$custom-light: #7560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25229f",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 241.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36203,
    "c": 0.19106,
    "h": 272.5
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#25229F
secondary
#BFC15B
accent
#E840E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25229F

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

Preview Lab → · Contrast checker → · Palette generator →

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