#25238E#25238E

#25238E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.169 H 273.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#25238E
RGBrgb(37, 35, 142)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(73.9%, 75.4%, 0%, 44.3%)
CIE-LABlab(22.12, 37.46, -58.27)
CIE-LCHlch(22.12, 69.27, 302.74°)
OKLaboklab(34.46% 0.0112 -0.1685)
OKLCHoklch(34.46% 0.169 273.8)
XYZxyz(6.2448, 3.5478, 25.9416)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25238E #8C8E23
analogous
#23578E #25238E #5A238E
triadic
#25238E #8E2523 #238E25
tetradic
#25238E #8E2357 #8C8E23 #238E5A
square
#25238E #8E2357 #8C8E23 #238E5A
split-complementary
#25238E #8E5A23 #578E23
monochromatic
#0B0B2C #18175D #25238E #322FBF #5856D5

Accessibility & contrast

On white

12.28
#25238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25238E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25238E#FFFFFF#000000##FFFFFF
##25238E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25238e;
/* rgb */ color: rgb(37, 35, 142);
/* oklch */ color: oklch(34.5% 0.169 273.8);
Tailwind
colors: {
  custom: {
    50: '#715fb0',
    500: '#25238e',
    950: '#000000',
  },
}
SCSS
$custom: #25238e;
$custom-light: #715fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25238e",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 241.121,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.16892,
    "h": 273.8
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#25238E
secondary
#B8B953
accent
#E444E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25238E

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

Preview Lab → · Contrast checker → · Palette generator →

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