#25479C#25479C

#25479C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.144 H 264.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#25479C
RGBrgb(37, 71, 156)
HSLhsl(223, 62%, 38%)
HSVhsv(223, 76%, 61%)
CMYKcmyk(76.3%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.48, 19.06, -49.91)
CIE-LCHlch(32.48, 53.43, 290.90°)
OKLaboklab(42.47% -0.0137 -0.1438)
OKLCHoklch(42.47% 0.144 264.5)
XYZxyz(9.0148, 7.2991, 32.3798)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25479C #9C7A25
analogous
#25829C #25479C #3E259C
triadic
#25479C #9C2547 #479C25
tetradic
#25479C #9C2582 #9C7A25 #259C3E
square
#25479C #9C2582 #9C7A25 #259C3E
split-complementary
#25479C #9C3E25 #829C25
monochromatic
#0E1A39 #19306B #25479C #315ECD #6284DA

Accessibility & contrast

On white

8.54
#25479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#25479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25479C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25479C#FFFFFF#000000##FFFFFF
##25479C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #25479c;
/* rgb */ color: rgb(37, 71, 156);
/* oklch */ color: oklch(42.5% 0.144 264.5);
Tailwind
colors: {
  custom: {
    50: '#7179ba',
    500: '#25479c',
    950: '#000000',
  },
}
SCSS
$custom: #25479c;
$custom-light: #7179ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25479c",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 222.857,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.14444,
    "h": 264.5
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#25479C
secondary
#BFA35E
accent
#B743E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25479C

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

Preview Lab → · Contrast checker → · Palette generator →

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