#25458D#25458D

#25458D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.126 H 263.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#25458D
RGBrgb(37, 69, 141)
HSLhsl(222, 58%, 35%)
HSVhsv(222, 74%, 55%)
CMYKcmyk(73.8%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.81, 14.55, -43.46)
CIE-LCHlch(30.81, 45.83, 288.51°)
OKLaboklab(40.86% -0.0137 -0.1248)
OKLCHoklch(40.86% 0.126 263.7)
XYZxyz(7.6971, 6.5718, 26.0570)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25458D #8D6D25
analogous
#25798D #25458D #39258D
triadic
#25458D #8D2545 #458D25
tetradic
#25458D #8D2579 #8D6D25 #258D39
square
#25458D #8D2579 #8D6D25 #258D39
split-complementary
#25458D #8D3925 #798D25
monochromatic
#0C162C #182D5D #25458D #325DBD #597FD3

Accessibility & contrast

On white

9.07
#25458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25458D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25458D#FFFFFF#000000##FFFFFF
##25458D1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25458d;
/* rgb */ color: rgb(37, 69, 141);
/* oklch */ color: oklch(40.9% 0.126 263.7);
Tailwind
colors: {
  custom: {
    50: '#6e78af',
    500: '#25458d',
    950: '#000000',
  },
}
SCSS
$custom: #25458d;
$custom-light: #6e78af;
$custom-dark: #000000;
JSON
{
  "hex": "#25458d",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 221.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.12558,
    "h": 263.7
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#25458D
secondary
#B89A56
accent
#B246E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25458D

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

Preview Lab → · Contrast checker → · Palette generator →

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