#25349B#25349B

#25349B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.167 H 269.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#25349B
RGBrgb(37, 52, 155)
HSLhsl(232, 61%, 38%)
HSVhsv(232, 76%, 61%)
CMYKcmyk(76.1%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.34, 31.45, -57.69)
CIE-LCHlch(27.34, 65.70, 298.60°)
OKLaboklab(38.62% -0.0002 -0.1668)
OKLCHoklch(38.62% 0.167 269.9)
XYZxyz(7.9053, 5.2150, 31.5940)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25349B #9B8C25
analogous
#256F9B #25349B #51259B
triadic
#25349B #9B2534 #349B25
tetradic
#25349B #9B256F #9B8C25 #259B51
square
#25349B #9B256F #9B8C25 #259B51
split-complementary
#25349B #9B5125 #6F9B25
monochromatic
#0D1338 #19236A #25349B #3145CC #6170D9

Accessibility & contrast

On white

10.28
#25349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#25349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25349B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25349B#FFFFFF#000000##FFFFFF
##25349B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25349b;
/* rgb */ color: rgb(37, 52, 155);
/* oklch */ color: oklch(38.6% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#25349b',
    950: '#000000',
  },
}
SCSS
$custom: #25349b;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25349b",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 232.373,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.16684,
    "h": 269.9
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#25349B
secondary
#BFB25D
accent
#D043E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25349B

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

Preview Lab → · Contrast checker → · Palette generator →

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