#25368B#25368B

#25368B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.142 H 269.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#25368B
RGBrgb(37, 54, 139)
HSLhsl(230, 58%, 35%)
HSVhsv(230, 73%, 55%)
CMYKcmyk(73.4%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.43, 24.06, -49.32)
CIE-LCHlch(26.43, 54.88, 296.00°)
OKLaboklab(37.51% -0.0011 -0.1423)
OKLCHoklch(37.51% 0.142 269.6)
XYZxyz(6.7407, 4.8950, 25.0107)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368B #8B7A25
analogous
#25698B #25368B #47258B
triadic
#25368B #8B2536 #368B25
tetradic
#25368B #8B2569 #8B7A25 #258B47
square
#25368B #8B2569 #8B7A25 #258B47
split-complementary
#25368B #8B4725 #698B25
monochromatic
#0B102A #18235B #25368B #3249BB #586CD3

Accessibility & contrast

On white

10.61
#25368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#25368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25368B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368B#FFFFFF#000000##FFFFFF
##25368B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25368b;
/* rgb */ color: rgb(37, 54, 139);
/* oklch */ color: oklch(37.5% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e6cae',
    500: '#25368b',
    950: '#000000',
  },
}
SCSS
$custom: #25368b;
$custom-light: #6e6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#25368b",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 230,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.14231,
    "h": 269.6
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#25368B
secondary
#B7A755
accent
#C747E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25368B

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

Preview Lab → · Contrast checker → · Palette generator →

#25368B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva