#25349D#25349D

#25349D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.170 H 269.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#25349D
RGBrgb(37, 52, 157)
HSLhsl(233, 62%, 38%)
HSVhsv(233, 76%, 62%)
CMYKcmyk(76.4%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.53, 32.19, -58.60)
CIE-LCHlch(27.53, 66.86, 298.78°)
OKLaboklab(38.81% -0.0003 -0.1695)
OKLCHoklch(38.81% 0.17 269.9)
XYZxyz(8.0747, 5.2827, 32.4859)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25349D #9D8E25
analogous
#25709D #25349D #52259D
triadic
#25349D #9D2534 #349D25
tetradic
#25349D #9D2570 #9D8E25 #259D52
square
#25349D #9D2570 #9D8E25 #259D52
split-complementary
#25349D #9D5225 #709D25
monochromatic
#0E133A #19246B #25349D #3144CE #6271DA

Accessibility & contrast

On white

10.21
#25349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#25349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25349D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25349D#FFFFFF#000000##FFFFFF
##25349D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25349d;
/* rgb */ color: rgb(37, 52, 157);
/* oklch */ color: oklch(38.8% 0.170 269.9);
Tailwind
colors: {
  custom: {
    50: '#736bbb',
    500: '#25349d',
    950: '#000000',
  },
}
SCSS
$custom: #25349d;
$custom-light: #736bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#25349d",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 232.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38811,
    "c": 0.16951,
    "h": 269.9
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#25349D
secondary
#BFB35E
accent
#D143E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25349D

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

Preview Lab → · Contrast checker → · Palette generator →

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