#25229E#25229E

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

Color values

HEX#25229E
RGBrgb(37, 34, 158)
HSLhsl(241, 65%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.6%, 78.5%, 0%, 38%)
CIE-LABlab(23.69, 43.43, -65.53)
CIE-LCHlch(23.69, 78.62, 303.53°)
OKLaboklab(36.09% 0.0084 -0.1897)
OKLCHoklch(36.09% 0.19 272.5)
XYZxyz(7.5045, 4.0052, 32.7187)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25229E #9B9E22
analogous
#225D9E #25229E #63229E
triadic
#25229E #9E2522 #229E25
tetradic
#25229E #9E225D #9B9E22 #229E63
square
#25229E #9E225D #9B9E22 #229E63
split-complementary
#25229E #9E6322 #5D9E22
monochromatic
#0D0C39 #19176C #25229E #312DD0 #615EDC

Accessibility & contrast

On white

11.66
#25229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25229E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25229E#FFFFFF#000000##FFFFFF
##25229E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25229e;
/* rgb */ color: rgb(37, 34, 158);
/* oklch */ color: oklch(36.1% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#7560bc',
    500: '#25229e',
    950: '#000000',
  },
}
SCSS
$custom: #25229e;
$custom-light: #7560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25229e",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 241.452,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.18985,
    "h": 272.5
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25229E

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

Preview Lab → · Contrast checker → · Palette generator →

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