#25388D#25388D

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

Color values

HEX#25388D
RGBrgb(37, 56, 141)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(73.8%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.14, 23.46, -49.41)
CIE-LCHlch(27.14, 54.70, 295.40°)
OKLaboklab(38.09% -0.0026 -0.1425)
OKLCHoklch(38.09% 0.143 268.9)
XYZxyz(6.9832, 5.1440, 25.8190)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25388D #8D7A25
analogous
#256C8D #25388D #46258D
triadic
#25388D #8D2538 #388D25
tetradic
#25388D #8D256C #8D7A25 #258D46
square
#25388D #8D256C #8D7A25 #258D46
split-complementary
#25388D #8D4625 #6C8D25
monochromatic
#0C112C #18255D #25388D #324BBD #596FD3

Accessibility & contrast

On white

10.35
#25388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#25388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25388D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25388D#FFFFFF#000000##FFFFFF
##25388D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25388d;
/* rgb */ color: rgb(37, 56, 141);
/* oklch */ color: oklch(38.1% 0.143 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eaf',
    500: '#25388d',
    950: '#000000',
  },
}
SCSS
$custom: #25388d;
$custom-light: #6f6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#25388d",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 229.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38089,
    "c": 0.14256,
    "h": 268.9
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#25388D
secondary
#B8A656
accent
#C546E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25388D

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

Preview Lab → · Contrast checker → · Palette generator →

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