#25238C#25238C

#25238C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.166 H 274.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#25238C
RGBrgb(37, 35, 140)
HSLhsl(241, 60%, 34%)
HSVhsv(241, 75%, 55%)
CMYKcmyk(73.6%, 75%, 0%, 45.1%)
CIE-LABlab(21.90, 36.77, -57.38)
CIE-LCHlch(21.90, 68.15, 302.66°)
OKLaboklab(34.24% 0.0116 -0.1659)
OKLCHoklch(34.24% 0.166 274)
XYZxyz(6.0960, 3.4882, 25.1579)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25238C #8A8C23
analogous
#23568C #25238C #5A238C
triadic
#25238C #8C2523 #238C25
tetradic
#25238C #8C2356 #8A8C23 #238C5A
square
#25238C #8C2356 #8A8C23 #238C5A
split-complementary
#25238C #8C5A23 #568C23
monochromatic
#0B0B2A #18175B #25238C #322FBD #5755D4

Accessibility & contrast

On white

12.37
#25238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25238C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25238C#FFFFFF#000000##FFFFFF
##25238C1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25238c;
/* rgb */ color: rgb(37, 35, 140);
/* oklch */ color: oklch(34.2% 0.166 274.0);
Tailwind
colors: {
  custom: {
    50: '#715faf',
    500: '#25238c',
    950: '#000000',
  },
}
SCSS
$custom: #25238c;
$custom-light: #715faf;
$custom-dark: #000000;
JSON
{
  "hex": "#25238c",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 241.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.16636,
    "h": 274
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#25238C
secondary
#B7B852
accent
#E345E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #25238C

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

Preview Lab → · Contrast checker → · Palette generator →

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