#25388E#25388E

#25388E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.144 H 268.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#25388E
RGBrgb(37, 56, 142)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 56%)
CMYKcmyk(73.9%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.22, 23.85, -49.89)
CIE-LCHlch(27.22, 55.30, 295.55°)
OKLaboklab(38.18% -0.0026 -0.144)
OKLCHoklch(38.18% 0.144 268.9)
XYZxyz(7.0579, 5.1739, 26.2126)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25388E #8E7B25
analogous
#256C8E #25388E #47258E
triadic
#25388E #8E2538 #388E25
tetradic
#25388E #8E256C #8E7B25 #258E47
square
#25388E #8E256C #8E7B25 #258E47
split-complementary
#25388E #8E4725 #6C8E25
monochromatic
#0C122D #18255D #25388E #324BBF #5A70D4

Accessibility & contrast

On white

10.32
#25388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#25388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25388E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25388E#FFFFFF#000000##FFFFFF
##25388E1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25388e;
/* rgb */ color: rgb(37, 56, 142);
/* oklch */ color: oklch(38.2% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eb0',
    500: '#25388e',
    950: '#000000',
  },
}
SCSS
$custom: #25388e;
$custom-light: #6f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25388e",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 229.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38178,
    "c": 0.14398,
    "h": 268.9
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#25388E
secondary
#B9A756
accent
#C646E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25388E

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

Preview Lab → · Contrast checker → · Palette generator →

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