#25348B#25348B

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

Color values

HEX#25348B
RGBrgb(37, 52, 139)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 73%, 55%)
CMYKcmyk(73.4%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.90, 25.42, -50.19)
CIE-LCHlch(25.90, 56.26, 296.86°)
OKLaboklab(37.11% 0.0005 -0.1449)
OKLCHoklch(37.11% 0.145 270.2)
XYZxyz(6.6495, 4.7127, 24.9803)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348B #8B7C25
analogous
#25678B #25348B #49258B
triadic
#25348B #8B2534 #348B25
tetradic
#25348B #8B2567 #8B7C25 #258B49
square
#25348B #8B2567 #8B7C25 #258B49
split-complementary
#25348B #8B4925 #678B25
monochromatic
#0B102A #18225B #25348B #3246BB #586AD3

Accessibility & contrast

On white

10.81
#25348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25348B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348B#FFFFFF#000000##FFFFFF
##25348B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25348b;
/* rgb */ color: rgb(37, 52, 139);
/* oklch */ color: oklch(37.1% 0.145 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f6bae',
    500: '#25348b',
    950: '#000000',
  },
}
SCSS
$custom: #25348b;
$custom-light: #6f6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#25348b",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 231.176,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.14489,
    "h": 270.2
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25348B

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

Preview Lab → · Contrast checker → · Palette generator →

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