#25479A#25479A

#25479A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.142 H 264.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#25479A
RGBrgb(37, 71, 154)
HSLhsl(223, 61%, 37%)
HSVhsv(223, 76%, 60%)
CMYKcmyk(76%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.33, 18.28, -48.94)
CIE-LCHlch(32.33, 52.25, 290.48°)
OKLaboklab(42.31% -0.0139 -0.1409)
OKLCHoklch(42.31% 0.142 264.4)
XYZxyz(8.8469, 7.2319, 31.4952)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25479A #9A7825
analogous
#25829A #25479A #3D259A
triadic
#25479A #9A2547 #479A25
tetradic
#25479A #9A2582 #9A7825 #259A3D
square
#25479A #9A2582 #9A7825 #259A3D
split-complementary
#25479A #9A3D25 #829A25
monochromatic
#0D1A37 #193069 #25479A #315ECB #6083D9

Accessibility & contrast

On white

8.58
#25479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#25479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25479A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25479A#FFFFFF#000000##FFFFFF
##25479A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #25479a;
/* rgb */ color: rgb(37, 71, 154);
/* oklch */ color: oklch(42.3% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#7179b8',
    500: '#25479a',
    950: '#000000',
  },
}
SCSS
$custom: #25479a;
$custom-light: #7179b8;
$custom-dark: #000000;
JSON
{
  "hex": "#25479a",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 222.564,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.14162,
    "h": 264.4
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#25479A
secondary
#BEA25D
accent
#B643E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #25479A

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

Preview Lab → · Contrast checker → · Palette generator →

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