#25438E#25438E

#25438E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.130 H 264.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#25438E
RGBrgb(37, 67, 142)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 56%)
CMYKcmyk(73.9%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.30, 16.31, -44.90)
CIE-LCHlch(30.30, 47.77, 289.96°)
OKLaboklab(40.49% -0.0118 -0.1291)
OKLCHoklch(40.49% 0.13 264.8)
XYZxyz(7.6509, 6.3598, 26.4103)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25438E #8E7025
analogous
#25788E #25438E #3B258E
triadic
#25438E #8E2543 #438E25
tetradic
#25438E #8E2578 #8E7025 #258E3B
square
#25438E #8E2578 #8E7025 #258E3B
split-complementary
#25438E #8E3B25 #788E25
monochromatic
#0C152D #182C5D #25438E #325ABF #5A7CD4

Accessibility & contrast

On white

9.24
#25438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#25438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25438E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25438E#FFFFFF#000000##FFFFFF
##25438E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25438e;
/* rgb */ color: rgb(37, 67, 142);
/* oklch */ color: oklch(40.5% 0.130 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e76b0',
    500: '#25438e',
    950: '#000000',
  },
}
SCSS
$custom: #25438e;
$custom-light: #6e76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25438e",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 222.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.12963,
    "h": 264.8
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#25438E
secondary
#B99C56
accent
#B546E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25438E

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

Preview Lab → · Contrast checker → · Palette generator →

#25438E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva