#25388B#25388B

#25388B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.140 H 268.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#25388B
RGBrgb(37, 56, 139)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 73%, 55%)
CMYKcmyk(73.4%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.98, 22.69, -48.44)
CIE-LCHlch(26.98, 53.49, 295.10°)
OKLaboklab(37.91% -0.0027 -0.1397)
OKLCHoklch(37.91% 0.14 268.9)
XYZxyz(6.8357, 5.0850, 25.0423)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25388B #8B7825
analogous
#256B8B #25388B #45258B
triadic
#25388B #8B2538 #388B25
tetradic
#25388B #8B256B #8B7825 #258B45
square
#25388B #8B256B #8B7825 #258B45
split-complementary
#25388B #8B4525 #6B8B25
monochromatic
#0B112A #18255B #25388B #324BBB #586FD3

Accessibility & contrast

On white

10.41
#25388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#25388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25388B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25388B#FFFFFF#000000##FFFFFF
##25388B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25388b;
/* rgb */ color: rgb(37, 56, 139);
/* oklch */ color: oklch(37.9% 0.140 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e6eae',
    500: '#25388b',
    950: '#000000',
  },
}
SCSS
$custom: #25388b;
$custom-light: #6e6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#25388b",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 228.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.13972,
    "h": 268.9
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#25388B
secondary
#B7A555
accent
#C447E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25388B

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

Preview Lab → · Contrast checker → · Palette generator →

#25388B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva