#25348D#25348D

#25348D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.148 H 270.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#25348D
RGBrgb(37, 52, 141)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(73.8%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.07, 26.18, -51.15)
CIE-LCHlch(26.07, 57.46, 297.11°)
OKLaboklab(37.3% 0.0004 -0.1477)
OKLCHoklch(37.3% 0.148 270.2)
XYZxyz(6.7970, 4.7717, 25.7570)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348D #8D7E25
analogous
#25688D #25348D #4A258D
triadic
#25348D #8D2534 #348D25
tetradic
#25348D #8D2568 #8D7E25 #258D4A
square
#25348D #8D2568 #8D7E25 #258D4A
split-complementary
#25348D #8D4A25 #688D25
monochromatic
#0C102C #18225D #25348D #3246BD #596BD3

Accessibility & contrast

On white

10.74
#25348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#25348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25348D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348D#FFFFFF#000000##FFFFFF
##25348D1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25348d;
/* rgb */ color: rgb(37, 52, 141);
/* oklch */ color: oklch(37.3% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f6baf',
    500: '#25348d',
    950: '#000000',
  },
}
SCSS
$custom: #25348d;
$custom-light: #6f6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#25348d",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 231.346,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37298,
    "c": 0.1477,
    "h": 270.2
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#25348D
secondary
#B8AA56
accent
#CB46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25348D

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

Preview Lab → · Contrast checker → · Palette generator →

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