#25229B#25229B

#25229B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.186 H 272.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#25229B
RGBrgb(37, 34, 155)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 61%)
CMYKcmyk(76.1%, 78.1%, 0%, 39.2%)
CIE-LABlab(23.35, 42.44, -64.26)
CIE-LCHlch(23.35, 77.01, 303.44°)
OKLaboklab(35.75% 0.0091 -0.186)
OKLCHoklch(35.75% 0.186 272.8)
XYZxyz(7.2494, 3.9032, 31.3753)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229B #989B22
analogous
#225B9B #25229B #62229B
triadic
#25229B #9B2522 #229B25
tetradic
#25229B #9B225B #989B22 #229B62
square
#25229B #9B225B #989B22 #229B62
split-complementary
#25229B #9B6222 #5B9B22
monochromatic
#0D0C37 #191769 #25229B #312DCD #5F5CDB

Accessibility & contrast

On white

11.79
#25229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#25229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25229B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229B#FFFFFF#000000##FFFFFF
##25229B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25229b;
/* rgb */ color: rgb(37, 34, 155);
/* oklch */ color: oklch(35.8% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#25229b',
    950: '#000000',
  },
}
SCSS
$custom: #25229b;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#25229b",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 241.488,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.18618,
    "h": 272.8
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25229B

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

Preview Lab → · Contrast checker → · Palette generator →

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