#25239F#25239F

#25239F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.190 H 272.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#25239F
RGBrgb(37, 35, 159)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.7%, 78%, 0%, 37.6%)
CIE-LABlab(23.99, 43.22, -65.64)
CIE-LCHlch(23.99, 78.59, 303.36°)
OKLaboklab(36.34% 0.0078 -0.19)
OKLCHoklch(36.34% 0.19 272.4)
XYZxyz(7.6199, 4.0978, 33.1835)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239F #9D9F23
analogous
#235F9F #25239F #63239F
triadic
#25239F #9F2523 #239F25
tetradic
#25239F #9F235F #9D9F23 #239F63
square
#25239F #9F235F #9D9F23 #239F63
split-complementary
#25239F #9F6323 #5F9F23
monochromatic
#0E0D3B #19186D #25239F #312ED1 #6260DC

Accessibility & contrast

On white

11.54
#25239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25239F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239F#FFFFFF#000000##FFFFFF
##25239F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25239f;
/* rgb */ color: rgb(37, 35, 159);
/* oklch */ color: oklch(36.3% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#7560bd',
    500: '#25239f',
    950: '#000000',
  },
}
SCSS
$custom: #25239f;
$custom-light: #7560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25239f",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 240.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36337,
    "c": 0.19014,
    "h": 272.4
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#25239F
secondary
#BFC15D
accent
#E741E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25239F

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

Preview Lab → · Contrast checker → · Palette generator →

#25239F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva