#25238D#25238D

#25238D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.168 H 273.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#25238D
RGBrgb(37, 35, 141)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 55%)
CMYKcmyk(73.8%, 75.2%, 0%, 44.7%)
CIE-LABlab(22.01, 37.12, -57.82)
CIE-LCHlch(22.01, 68.71, 302.70°)
OKLaboklab(34.35% 0.0114 -0.1672)
OKLCHoklch(34.35% 0.168 273.9)
XYZxyz(6.1701, 3.5179, 25.5480)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25238D #8B8D23
analogous
#23568D #25238D #5A238D
triadic
#25238D #8D2523 #238D25
tetradic
#25238D #8D2356 #8B8D23 #238D5A
square
#25238D #8D2356 #8B8D23 #238D5A
split-complementary
#25238D #8D5A23 #568D23
monochromatic
#0B0B2B #18175C #25238D #322FBE #5855D5

Accessibility & contrast

On white

12.33
#25238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25238D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25238D#FFFFFF#000000##FFFFFF
##25238D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25238d;
/* rgb */ color: rgb(37, 35, 141);
/* oklch */ color: oklch(34.3% 0.168 273.9);
Tailwind
colors: {
  custom: {
    50: '#715faf',
    500: '#25238d',
    950: '#000000',
  },
}
SCSS
$custom: #25238d;
$custom-light: #715faf;
$custom-dark: #000000;
JSON
{
  "hex": "#25238d",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 241.132,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.16764,
    "h": 273.9
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#25238D
secondary
#B7B953
accent
#E344E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #25238D

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

Preview Lab → · Contrast checker → · Palette generator →

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