#25348A#25348A

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

Color values

HEX#25348A
RGBrgb(37, 52, 138)
HSLhsl(231, 58%, 34%)
HSVhsv(231, 73%, 54%)
CMYKcmyk(73.2%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.81, 25.04, -49.71)
CIE-LCHlch(25.81, 55.66, 296.73°)
OKLaboklab(37.02% 0.0005 -0.1435)
OKLCHoklch(37.02% 0.143 270.2)
XYZxyz(6.5768, 4.6836, 24.5972)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348A #8A7B25
analogous
#25678A #25348A #49258A
triadic
#25348A #8A2534 #348A25
tetradic
#25348A #8A2567 #8A7B25 #258A49
square
#25348A #8A2567 #8A7B25 #258A49
split-complementary
#25348A #8A4925 #678A25
monochromatic
#0B1029 #18225A #25348A #3246BA #576AD2

Accessibility & contrast

On white

10.84
#25348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#25348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25348A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348A#FFFFFF#000000##FFFFFF
##25348A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25348a;
/* rgb */ color: rgb(37, 52, 138);
/* oklch */ color: oklch(37.0% 0.143 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e6bad',
    500: '#25348a',
    950: '#000000',
  },
}
SCSS
$custom: #25348a;
$custom-light: #6e6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#25348a",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 231.089,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37024,
    "c": 0.14348,
    "h": 270.2
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#25348A
secondary
#B7A854
accent
#CA47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25348A

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

Preview Lab → · Contrast checker → · Palette generator →

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