#25347D#25347D

#25347D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.125 H 270.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#25347D
RGBrgb(37, 52, 125)
HSLhsl(230, 54%, 32%)
HSVhsv(230, 70%, 49%)
CMYKcmyk(70.4%, 58.4%, 0%, 51%)
CIE-LABlab(24.73, 20.04, -43.34)
CIE-LCHlch(24.73, 47.75, 294.82°)
OKLaboklab(35.88% 0.0003 -0.1247)
OKLCHoklch(35.88% 0.125 270.1)
XYZxyz(5.6914, 4.3294, 19.9338)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347D #7D6E25
analogous
#25607D #25347D #42257D
triadic
#25347D #7D2534 #347D25
tetradic
#25347D #7D2560 #7D6E25 #257D42
square
#25347D #7D2560 #7D6E25 #257D42
split-complementary
#25347D #7D4225 #607D25
monochromatic
#090D1F #17204E #25347D #3348AC #5166CB

Accessibility & contrast

On white

11.25
#25347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347D#FFFFFF#000000##FFFFFF
##25347D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25347d;
/* rgb */ color: rgb(37, 52, 125);
/* oklch */ color: oklch(35.9% 0.125 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ba3',
    500: '#25347d',
    950: '#000000',
  },
}
SCSS
$custom: #25347d;
$custom-light: #6b6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#25347d",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 229.773,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35879,
    "c": 0.12474,
    "h": 270.1
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#25347D
secondary
#AF9F4F
accent
#C54ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25347D

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

Preview Lab → · Contrast checker → · Palette generator →

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