#25418C#25418C

#25418C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.129 H 265.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#25418C
RGBrgb(37, 65, 140)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(73.6%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.58, 16.89, -44.83)
CIE-LCHlch(29.58, 47.91, 290.65°)
OKLaboklab(39.9% -0.0102 -0.1289)
OKLCHoklch(39.9% 0.129 265.5)
XYZxyz(7.3852, 6.0666, 25.5876)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25418C #8C7025
analogous
#25758C #25418C #3C258C
triadic
#25418C #8C2541 #418C25
tetradic
#25418C #8C2575 #8C7025 #258C3C
square
#25418C #8C2575 #8C7025 #258C3C
split-complementary
#25418C #8C3C25 #758C25
monochromatic
#0B142B #182B5C #25418C #3257BC #587AD3

Accessibility & contrast

On white

9.49
#25418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#25418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25418C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25418C#FFFFFF#000000##FFFFFF
##25418C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25418c;
/* rgb */ color: rgb(37, 65, 140);
/* oklch */ color: oklch(39.9% 0.129 265.5);
Tailwind
colors: {
  custom: {
    50: '#6e75ae',
    500: '#25418c',
    950: '#000000',
  },
}
SCSS
$custom: #25418c;
$custom-light: #6e75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25418c",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 223.689,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39898,
    "c": 0.12936,
    "h": 265.5
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#25418C
secondary
#B89D55
accent
#B746E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25418C

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

Preview Lab → · Contrast checker → · Palette generator →

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