#25438C#25438C

#25438C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.127 H 264.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#25438C
RGBrgb(37, 67, 140)
HSLhsl(223, 58%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(73.6%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.16, 15.52, -43.90)
CIE-LCHlch(30.16, 46.56, 289.47°)
OKLaboklab(40.34% -0.012 -0.1262)
OKLCHoklch(40.34% 0.127 264.6)
XYZxyz(7.5021, 6.3003, 25.6266)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25438C #8C6E25
analogous
#25778C #25438C #3A258C
triadic
#25438C #8C2543 #438C25
tetradic
#25438C #8C2577 #8C6E25 #258C3A
square
#25438C #8C2577 #8C6E25 #258C3A
split-complementary
#25438C #8C3A25 #778C25
monochromatic
#0B152B #182C5C #25438C #325ABC #587CD3

Accessibility & contrast

On white

9.29
#25438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#25438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25438C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25438C#FFFFFF#000000##FFFFFF
##25438C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25438c;
/* rgb */ color: rgb(37, 67, 140);
/* oklch */ color: oklch(40.3% 0.127 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e76ae',
    500: '#25438c',
    950: '#000000',
  },
}
SCSS
$custom: #25438c;
$custom-light: #6e76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25438c",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 222.524,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.12673,
    "h": 264.6
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#25438C
secondary
#B89B55
accent
#B446E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25438C

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

Preview Lab → · Contrast checker → · Palette generator →

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