#25388C#25388C

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

Color values

HEX#25388C
RGBrgb(37, 56, 140)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(73.6%, 60%, 0%, 45.1%)
CIE-LABlab(27.06, 23.08, -48.93)
CIE-LCHlch(27.06, 54.10, 295.25°)
OKLaboklab(38% -0.0027 -0.1411)
OKLCHoklch(38% 0.141 268.9)
XYZxyz(6.9091, 5.1144, 25.4289)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25388C #8C7925
analogous
#256C8C #25388C #46258C
triadic
#25388C #8C2538 #388C25
tetradic
#25388C #8C256C #8C7925 #258C46
square
#25388C #8C256C #8C7925 #258C46
split-complementary
#25388C #8C4625 #6C8C25
monochromatic
#0B112B #18255C #25388C #324BBC #586FD3

Accessibility & contrast

On white

10.38
#25388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25388C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25388C#FFFFFF#000000##FFFFFF
##25388C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25388c;
/* rgb */ color: rgb(37, 56, 140);
/* oklch */ color: oklch(38.0% 0.141 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eae',
    500: '#25388c',
    950: '#000000',
  },
}
SCSS
$custom: #25388c;
$custom-light: #6f6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#25388c",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 228.932,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.14115,
    "h": 268.9
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#25388C
secondary
#B8A555
accent
#C546E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25388C

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

Preview Lab → · Contrast checker → · Palette generator →

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