#25226E#25226E

#25226E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.127 H 277.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#25226E
RGBrgb(37, 34, 110)
HSLhsl(242, 53%, 28%)
HSVhsv(242, 69%, 43%)
CMYKcmyk(66.4%, 69.1%, 0%, 56.9%)
CIE-LABlab(18.64, 26.74, -43.67)
CIE-LCHlch(18.64, 51.21, 301.47°)
OKLaboklab(30.98% 0.0171 -0.1259)
OKLCHoklch(30.98% 0.127 277.7)
XYZxyz(4.1485, 2.6628, 15.0442)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25226E #6B6E22
analogous
#22456E #25226E #4B226E
triadic
#25226E #6E2522 #226E25
tetradic
#25226E #6E2245 #6B6E22 #226E4B
square
#25226E #6E2245 #6B6E22 #226E4B
split-complementary
#25226E #6E4B22 #456E22
monochromatic
#080717 #15143F #25226E #35309D #4A45C5

Accessibility & contrast

On white

13.70
#25226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#25226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25226E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25226E#FFFFFF#000000##FFFFFF
##25226E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25226e;
/* rgb */ color: rgb(37, 34, 110);
/* oklch */ color: oklch(31.0% 0.127 277.7);
Tailwind
colors: {
  custom: {
    50: '#695d98',
    500: '#25226e',
    950: '#000000',
  },
}
SCSS
$custom: #25226e;
$custom-light: #695d98;
$custom-dark: #000000;
JSON
{
  "hex": "#25226e",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 242.368,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30976,
    "c": 0.12704,
    "h": 277.7
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#25226E
secondary
#9EA14A
accent
#DC4CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25226E

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

Preview Lab → · Contrast checker → · Palette generator →

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