#25438D#25438D

#25438D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.128 H 264.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#25438D
RGBrgb(37, 67, 141)
HSLhsl(223, 58%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(73.8%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.23, 15.91, -44.40)
CIE-LCHlch(30.23, 47.17, 289.72°)
OKLaboklab(40.42% -0.0119 -0.1276)
OKLCHoklch(40.42% 0.128 264.7)
XYZxyz(7.5761, 6.3299, 26.0167)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25438D #8D6F25
analogous
#25778D #25438D #3B258D
triadic
#25438D #8D2543 #438D25
tetradic
#25438D #8D2577 #8D6F25 #258D3B
square
#25438D #8D2577 #8D6F25 #258D3B
split-complementary
#25438D #8D3B25 #778D25
monochromatic
#0C152C #182C5D #25438D #325ABD #597CD3

Accessibility & contrast

On white

9.27
#25438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25438D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25438D#FFFFFF#000000##FFFFFF
##25438D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25438d;
/* rgb */ color: rgb(37, 67, 141);
/* oklch */ color: oklch(40.4% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e76af',
    500: '#25438d',
    950: '#000000',
  },
}
SCSS
$custom: #25438d;
$custom-light: #6e76af;
$custom-dark: #000000;
JSON
{
  "hex": "#25438d",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 222.692,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.12818,
    "h": 264.7
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#25438D
secondary
#B89C56
accent
#B546E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25438D

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

Preview Lab → · Contrast checker → · Palette generator →

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