#25238B#25238B

#25238B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.165 H 274.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#25238B
RGBrgb(37, 35, 139)
HSLhsl(241, 60%, 34%)
HSVhsv(241, 75%, 55%)
CMYKcmyk(73.4%, 74.8%, 0%, 45.5%)
CIE-LABlab(21.80, 36.43, -56.93)
CIE-LCHlch(21.80, 67.59, 302.61°)
OKLaboklab(34.13% 0.0118 -0.1646)
OKLCHoklch(34.13% 0.165 274.1)
XYZxyz(6.0226, 3.4589, 24.7713)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25238B #898B23
analogous
#23558B #25238B #59238B
triadic
#25238B #8B2523 #238B25
tetradic
#25238B #8B2355 #898B23 #238B59
square
#25238B #8B2355 #898B23 #238B59
split-complementary
#25238B #8B5923 #558B23
monochromatic
#0B0A29 #18175A #25238B #322FBC #5754D4

Accessibility & contrast

On white

12.41
#25238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#25238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25238B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25238B#FFFFFF#000000##FFFFFF
##25238B1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25238b;
/* rgb */ color: rgb(37, 35, 139);
/* oklch */ color: oklch(34.1% 0.165 274.1);
Tailwind
colors: {
  custom: {
    50: '#705fae',
    500: '#25238b',
    950: '#000000',
  },
}
SCSS
$custom: #25238b;
$custom-light: #705fae;
$custom-dark: #000000;
JSON
{
  "hex": "#25238b",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 241.154,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.16507,
    "h": 274.1
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#25238B
secondary
#B6B852
accent
#E345E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25238B

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

Preview Lab → · Contrast checker → · Palette generator →

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