#25348C#25348C

#25348C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.146 H 270.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#25348C
RGBrgb(37, 52, 140)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(73.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.99, 25.80, -50.67)
CIE-LCHlch(25.99, 56.86, 296.98°)
OKLaboklab(37.21% 0.0005 -0.1463)
OKLCHoklch(37.21% 0.146 270.2)
XYZxyz(6.7229, 4.7421, 25.3669)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348C #8C7D25
analogous
#25688C #25348C #4A258C
triadic
#25348C #8C2534 #348C25
tetradic
#25348C #8C2568 #8C7D25 #258C4A
square
#25348C #8C2568 #8C7D25 #258C4A
split-complementary
#25348C #8C4A25 #688C25
monochromatic
#0B102B #18225C #25348C #3246BC #586AD3

Accessibility & contrast

On white

10.78
#25348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25348C
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348C#FFFFFF#000000##FFFFFF
##25348C1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25348c;
/* rgb */ color: rgb(37, 52, 140);
/* oklch */ color: oklch(37.2% 0.146 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f6bae',
    500: '#25348c',
    950: '#000000',
  },
}
SCSS
$custom: #25348c;
$custom-light: #6f6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#25348c",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 231.262,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.1463,
    "h": 270.2
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#25348C
secondary
#B8A955
accent
#CB46E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25348C

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

Preview Lab → · Contrast checker → · Palette generator →

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