#25329F#25329F

#25329F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.174 H 270.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#25329F
RGBrgb(37, 50, 159)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(76.7%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.23, 34.22, -60.30)
CIE-LCHlch(27.23, 69.33, 299.58°)
OKLaboklab(38.66% 0.0007 -0.1745)
OKLCHoklch(38.66% 0.174 270.2)
XYZxyz(8.1594, 5.1768, 33.3634)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25329F #9F9225
analogous
#256F9F #25329F #55259F
triadic
#25329F #9F2532 #329F25
tetradic
#25329F #9F256F #9F9225 #259F55
square
#25329F #9F256F #9F9225 #259F55
split-complementary
#25329F #9F5525 #6F9F25
monochromatic
#0E133C #19226D #25329F #3243CF #6470DB

Accessibility & contrast

On white

10.32
#25329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#25329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25329F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25329F#FFFFFF#000000##FFFFFF
##25329F1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25329f;
/* rgb */ color: rgb(37, 50, 159);
/* oklch */ color: oklch(38.7% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#746abc',
    500: '#25329f',
    950: '#000000',
  },
}
SCSS
$custom: #25329f;
$custom-light: #746abc;
$custom-dark: #000000;
JSON
{
  "hex": "#25329f",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 233.607,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.17448,
    "h": 270.2
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#25329F
secondary
#C0B65F
accent
#D442E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #25329F

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

Preview Lab → · Contrast checker → · Palette generator →

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