#25349A#25349A

#25349A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.166 H 270.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#25349A
RGBrgb(37, 52, 154)
HSLhsl(232, 61%, 37%)
HSVhsv(232, 76%, 60%)
CMYKcmyk(76%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.25, 31.08, -57.23)
CIE-LCHlch(27.25, 65.12, 298.50°)
OKLaboklab(38.52% -0.0001 -0.1655)
OKLCHoklch(38.52% 0.166 270)
XYZxyz(7.8217, 5.1816, 31.1535)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25349A #9A8B25
analogous
#256E9A #25349A #51259A
triadic
#25349A #9A2534 #349A25
tetradic
#25349A #9A256E #9A8B25 #259A51
square
#25349A #9A256E #9A8B25 #259A51
split-complementary
#25349A #9A5125 #6E9A25
monochromatic
#0D1337 #192369 #25349A #3145CB #6070D9

Accessibility & contrast

On white

10.31
#25349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25349A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25349A#FFFFFF#000000##FFFFFF
##25349A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25349a;
/* rgb */ color: rgb(37, 52, 154);
/* oklch */ color: oklch(38.5% 0.166 270.0);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#25349a',
    950: '#000000',
  },
}
SCSS
$custom: #25349a;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25349a",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 232.308,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.1655,
    "h": 270
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#25349A
secondary
#BEB25D
accent
#D043E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25349A

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

Preview Lab → · Contrast checker → · Palette generator →

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