#25459C#25459C

#25459C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.147 H 265.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#25459C
RGBrgb(37, 69, 156)
HSLhsl(224, 62%, 38%)
HSVhsv(224, 76%, 61%)
CMYKcmyk(76.3%, 55.8%, 0%, 38.8%)
CIE-LABlab(31.92, 20.42, -50.82)
CIE-LCHlch(31.92, 54.77, 291.89°)
OKLaboklab(42.05% -0.0122 -0.1465)
OKLCHoklch(42.05% 0.147 265.3)
XYZxyz(8.8897, 7.0489, 32.3381)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25459C #9C7C25
analogous
#25809C #25459C #41259C
triadic
#25459C #9C2545 #459C25
tetradic
#25459C #9C2580 #9C7C25 #259C41
square
#25459C #9C2580 #9C7C25 #259C41
split-complementary
#25459C #9C4125 #809C25
monochromatic
#0E1939 #192F6B #25459C #315BCD #6282DA

Accessibility & contrast

On white

8.71
#25459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#25459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25459C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25459C#FFFFFF#000000##FFFFFF
##25459C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25459c;
/* rgb */ color: rgb(37, 69, 156);
/* oklch */ color: oklch(42.0% 0.147 265.3);
Tailwind
colors: {
  custom: {
    50: '#7278ba',
    500: '#25459c',
    950: '#000000',
  },
}
SCSS
$custom: #25459c;
$custom-light: #7278ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25459c",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 223.866,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.14699,
    "h": 265.3
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#25459C
secondary
#BFA55E
accent
#B943E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25459C

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

Preview Lab → · Contrast checker → · Palette generator →

#25459C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva