#25367F#25367F

#25367F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.125 H 269.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#25367F
RGBrgb(37, 54, 127)
HSLhsl(229, 55%, 32%)
HSVhsv(229, 71%, 50%)
CMYKcmyk(70.9%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.45, 19.43, -43.43)
CIE-LCHlch(25.45, 47.57, 294.10°)
OKLaboklab(36.47% -0.0014 -0.125)
OKLCHoklch(36.47% 0.125 269.3)
XYZxyz(5.9116, 4.5634, 20.6438)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25367F #7F6E25
analogous
#25637F #25367F #41257F
triadic
#25367F #7F2536 #367F25
tetradic
#25367F #7F2563 #7F6E25 #257F41
square
#25367F #7F2563 #7F6E25 #257F41
split-complementary
#25367F #7F4125 #637F25
monochromatic
#090E20 #172250 #25367F #334AAE #5269CD

Accessibility & contrast

On white

10.98
#25367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#25367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25367F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25367F#FFFFFF#000000##FFFFFF
##25367F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25367f;
/* rgb */ color: rgb(37, 54, 127);
/* oklch */ color: oklch(36.5% 0.125 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c6ca5',
    500: '#25367f',
    950: '#000000',
  },
}
SCSS
$custom: #25367f;
$custom-light: #6c6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#25367f",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 228.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.12499,
    "h": 269.3
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#25367F
secondary
#B19E4F
accent
#C24ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25367F

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

Preview Lab → · Contrast checker → · Palette generator →

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