#25488C#25488C

#25488C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.120 H 262.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#25488C
RGBrgb(37, 72, 140)
HSLhsl(220, 58%, 35%)
HSVhsv(220, 74%, 55%)
CMYKcmyk(73.6%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.63, 12.11, -41.54)
CIE-LCHlch(31.63, 43.27, 286.26°)
OKLaboklab(41.46% -0.0166 -0.1191)
OKLCHoklch(41.46% 0.12 262.1)
XYZxyz(7.8122, 6.9207, 25.7300)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25488C #8C6925
analogous
#257B8C #25488C #36258C
triadic
#25488C #8C2548 #488C25
tetradic
#25488C #8C257B #8C6925 #258C36
square
#25488C #8C257B #8C6925 #258C36
split-complementary
#25488C #8C3625 #7B8C25
monochromatic
#0B162B #182F5C #25488C #3261BC #5882D3

Accessibility & contrast

On white

8.81
#25488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#25488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25488C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25488C#FFFFFF#000000##FFFFFF
##25488C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8F
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25488c;
/* rgb */ color: rgb(37, 72, 140);
/* oklch */ color: oklch(41.5% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7aae',
    500: '#25488c',
    950: '#000000',
  },
}
SCSS
$custom: #25488c;
$custom-light: #6e7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#25488c",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 219.612,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.12026,
    "h": 262.1
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#25488C
secondary
#B89655
accent
#AD46E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25488C

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

Preview Lab → · Contrast checker → · Palette generator →

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