#25388F#25388F

#25388F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.145 H 269.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#25388F
RGBrgb(37, 56, 143)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 56%)
CMYKcmyk(74.1%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.31, 24.23, -50.37)
CIE-LCHlch(27.31, 55.90, 295.69°)
OKLaboklab(38.27% -0.0026 -0.1454)
OKLCHoklch(38.27% 0.145 269)
XYZxyz(7.1333, 5.2041, 26.6098)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25388F #8F7C25
analogous
#256D8F #25388F #47258F
triadic
#25388F #8F2538 #388F25
tetradic
#25388F #8F256D #8F7C25 #258F47
square
#25388F #8F256D #8F7C25 #258F47
split-complementary
#25388F #8F4725 #6D8F25
monochromatic
#0C122E #18255E #25388F #324BC0 #5A70D4

Accessibility & contrast

On white

10.29
#25388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25388F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25388F#FFFFFF#000000##FFFFFF
##25388F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25388f;
/* rgb */ color: rgb(37, 56, 143);
/* oklch */ color: oklch(38.3% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6eb1',
    500: '#25388f',
    950: '#000000',
  },
}
SCSS
$custom: #25388f;
$custom-light: #6f6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#25388f",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 229.245,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.14539,
    "h": 269
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#25388F
secondary
#B9A757
accent
#C646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #25388F

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

Preview Lab → · Contrast checker → · Palette generator →

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