#25229D#25229D

#25229D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.189 H 272.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#25229D
RGBrgb(37, 34, 157)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.4%, 78.3%, 0%, 38.4%)
CIE-LABlab(23.57, 43.10, -65.11)
CIE-LCHlch(23.57, 78.08, 303.50°)
OKLaboklab(35.98% 0.0086 -0.1884)
OKLCHoklch(35.98% 0.189 272.6)
XYZxyz(7.4187, 3.9709, 32.2672)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229D #9A9D22
analogous
#225D9D #25229D #62229D
triadic
#25229D #9D2522 #229D25
tetradic
#25229D #9D225D #9A9D22 #229D62
square
#25229D #9D225D #9A9D22 #229D62
split-complementary
#25229D #9D6222 #5D9D22
monochromatic
#0D0C38 #19176B #25229D #312DCF #605DDC

Accessibility & contrast

On white

11.70
#25229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25229D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229D#FFFFFF#000000##FFFFFF
##25229D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25229d;
/* rgb */ color: rgb(37, 34, 157);
/* oklch */ color: oklch(36.0% 0.189 272.6);
Tailwind
colors: {
  custom: {
    50: '#7560bb',
    500: '#25229d',
    950: '#000000',
  },
}
SCSS
$custom: #25229d;
$custom-light: #7560bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25229d",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 241.463,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.18863,
    "h": 272.6
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#25229D
secondary
#BEC15A
accent
#E740E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25229D

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

Preview Lab → · Contrast checker → · Palette generator →

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