#25349F#25349F

#25349F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.172 H 269.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#25349F
RGBrgb(37, 52, 159)
HSLhsl(233, 62%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(76.7%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.71, 32.93, -59.50)
CIE-LCHlch(27.71, 68.01, 298.96°)
OKLaboklab(39.01% -0.0005 -0.1722)
OKLCHoklch(39.01% 0.172 269.8)
XYZxyz(8.2468, 5.3516, 33.3925)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25349F #9F9025
analogous
#25719F #25349F #53259F
triadic
#25349F #9F2534 #349F25
tetradic
#25349F #9F2571 #9F9025 #259F53
square
#25349F #9F2571 #9F9025 #259F53
split-complementary
#25349F #9F5325 #719F25
monochromatic
#0E143C #19246D #25349F #3245CF #6472DB

Accessibility & contrast

On white

10.14
#25349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#25349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25349F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25349F#FFFFFF#000000##FFFFFF
##25349F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25349f;
/* rgb */ color: rgb(37, 52, 159);
/* oklch */ color: oklch(39.0% 0.172 269.8);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#25349f',
    950: '#000000',
  },
}
SCSS
$custom: #25349f;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25349f",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 232.623,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.17216,
    "h": 269.8
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#25349F
secondary
#C0B45F
accent
#D142E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25349F

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

Preview Lab → · Contrast checker → · Palette generator →

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