#25349E#25349E

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

Color values

HEX#25349E
RGBrgb(37, 52, 158)
HSLhsl(233, 62%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(76.6%, 67.1%, 0%, 38%)
CIE-LABlab(27.62, 32.56, -59.05)
CIE-LCHlch(27.62, 67.43, 298.87°)
OKLaboklab(38.91% -0.0004 -0.1708)
OKLCHoklch(38.91% 0.171 269.9)
XYZxyz(8.1604, 5.3170, 32.9373)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25349E #9E8F25
analogous
#25709E #25349E #52259E
triadic
#25349E #9E2534 #349E25
tetradic
#25349E #9E2570 #9E8F25 #259E52
square
#25349E #9E2570 #9E8F25 #259E52
split-complementary
#25349E #9E5225 #709E25
monochromatic
#0E133B #19246C #25349E #3145CF #6372DA

Accessibility & contrast

On white

10.18
#25349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25349E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25349E#FFFFFF#000000##FFFFFF
##25349E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25349e;
/* rgb */ color: rgb(37, 52, 158);
/* oklch */ color: oklch(38.9% 0.171 269.9);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#25349e',
    950: '#000000',
  },
}
SCSS
$custom: #25349e;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25349e",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 232.562,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.17084,
    "h": 269.9
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25349E

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

Preview Lab → · Contrast checker → · Palette generator →

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