#25458C#25458C

#25458C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.124 H 263.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#25458C
RGBrgb(37, 69, 140)
HSLhsl(221, 58%, 35%)
HSVhsv(221, 74%, 55%)
CMYKcmyk(73.6%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.74, 14.15, -42.96)
CIE-LCHlch(30.74, 45.23, 288.24°)
OKLaboklab(40.78% -0.0138 -0.1234)
OKLCHoklch(40.78% 0.124 263.6)
XYZxyz(7.6230, 6.5422, 25.6669)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25458C #8C6C25
analogous
#25798C #25458C #38258C
triadic
#25458C #8C2545 #458C25
tetradic
#25458C #8C2579 #8C6C25 #258C38
square
#25458C #8C2579 #8C6C25 #258C38
split-complementary
#25458C #8C3825 #798C25
monochromatic
#0B152B #182D5C #25458C #325DBC #587ED3

Accessibility & contrast

On white

9.10
#25458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#25458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25458C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25458C#FFFFFF#000000##FFFFFF
##25458C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25458c;
/* rgb */ color: rgb(37, 69, 140);
/* oklch */ color: oklch(40.8% 0.124 263.6);
Tailwind
colors: {
  custom: {
    50: '#6e78ae',
    500: '#25458c',
    950: '#000000',
  },
}
SCSS
$custom: #25458c;
$custom-light: #6e78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25458c",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 221.359,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.12413,
    "h": 263.6
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#25458C
secondary
#B89955
accent
#B146E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25458C

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

Preview Lab → · Contrast checker → · Palette generator →

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