#25348E#25348E

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

Color values

HEX#25348E
RGBrgb(37, 52, 142)
HSLhsl(231, 59%, 35%)
HSVhsv(231, 74%, 56%)
CMYKcmyk(73.9%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.16, 26.56, -51.63)
CIE-LCHlch(26.16, 58.06, 297.23°)
OKLaboklab(37.39% 0.0004 -0.1491)
OKLCHoklch(37.39% 0.149 270.2)
XYZxyz(6.8718, 4.8016, 26.1506)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348E #8E7F25
analogous
#25688E #25348E #4B258E
triadic
#25348E #8E2534 #348E25
tetradic
#25348E #8E2568 #8E7F25 #258E4B
square
#25348E #8E2568 #8E7F25 #258E4B
split-complementary
#25348E #8E4B25 #688E25
monochromatic
#0C102D #18225D #25348E #3246BF #5A6BD4

Accessibility & contrast

On white

10.71
#25348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#25348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25348E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348E#FFFFFF#000000##FFFFFF
##25348E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25348e;
/* rgb */ color: rgb(37, 52, 142);
/* oklch */ color: oklch(37.4% 0.149 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f6bb0',
    500: '#25348e',
    950: '#000000',
  },
}
SCSS
$custom: #25348e;
$custom-light: #6f6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25348e",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 231.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.14909,
    "h": 270.2
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#25348E
secondary
#B9AA56
accent
#CC46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25348E

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

Preview Lab → · Contrast checker → · Palette generator →

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