#25396B#25396B

#25396B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.090 H 265.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#25396B
RGBrgb(37, 57, 107)
HSLhsl(223, 49%, 28%)
HSVhsv(223, 65%, 42%)
CMYKcmyk(65.4%, 46.7%, 0%, 58%)
CIE-LABlab(24.89, 9.56, -31.62)
CIE-LCHlch(24.89, 33.03, 286.83°)
OKLaboklab(35.58% -0.0069 -0.0902)
OKLCHoklch(35.58% 0.09 265.6)
XYZxyz(4.8790, 4.3807, 14.4955)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25396B #6B5725
analogous
#255C6B #25396B #34256B
triadic
#25396B #6B2539 #396B25
tetradic
#25396B #6B255C #6B5725 #256B34
square
#25396B #6B255C #6B5725 #256B34
split-complementary
#25396B #6B3425 #5C6B25
monochromatic
#080C17 #15213E #25396B #355198 #4A6CC0

Accessibility & contrast

On white

11.19
#25396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#25396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25396B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25396B#FFFFFF#000000##FFFFFF
##25396B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6D
Deuteranopia (green-blind)
#17386A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25396b;
/* rgb */ color: rgb(37, 57, 107);
/* oklch */ color: oklch(35.6% 0.090 265.6);
Tailwind
colors: {
  custom: {
    50: '#676f96',
    500: '#25396b',
    950: '#000000',
  },
}
SCSS
$custom: #25396b;
$custom-light: #676f96;
$custom-dark: #000000;
JSON
{
  "hex": "#25396b",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 222.857,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.09046,
    "h": 265.6
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#25396B
secondary
#9E874E
accent
#B150D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #25396B

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

Preview Lab → · Contrast checker → · Palette generator →

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