#25458F#25458F

#25458F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.128 H 264.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#25458F
RGBrgb(37, 69, 143)
HSLhsl(222, 59%, 35%)
HSVhsv(222, 74%, 56%)
CMYKcmyk(74.1%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.95, 15.33, -44.46)
CIE-LCHlch(30.95, 47.03, 289.03°)
OKLaboklab(41.01% -0.0134 -0.1278)
OKLCHoklch(41.01% 0.128 264)
XYZxyz(7.8472, 6.6319, 26.8478)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25458F #8F6F25
analogous
#257A8F #25458F #3A258F
triadic
#25458F #8F2545 #458F25
tetradic
#25458F #8F257A #8F6F25 #258F3A
square
#25458F #8F257A #8F6F25 #258F3A
split-complementary
#25458F #8F3A25 #7A8F25
monochromatic
#0C162E #182E5E #25458F #325CC0 #5A7FD4

Accessibility & contrast

On white

9.03
#25458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#25458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25458F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25458F#FFFFFF#000000##FFFFFF
##25458F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25458f;
/* rgb */ color: rgb(37, 69, 143);
/* oklch */ color: oklch(41.0% 0.128 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e78b0',
    500: '#25458f',
    950: '#000000',
  },
}
SCSS
$custom: #25458f;
$custom-light: #6e78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25458f",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 221.887,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.12848,
    "h": 264
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#25458F
secondary
#B99B57
accent
#B346E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25458F

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

Preview Lab → · Contrast checker → · Palette generator →

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