#25396D#25396D

#25396D is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.094 H 266.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#25396D
RGBrgb(37, 57, 109)
HSLhsl(223, 49%, 29%)
HSVhsv(223, 66%, 43%)
CMYKcmyk(66.1%, 47.7%, 0%, 57.3%)
CIE-LABlab(25.02, 10.34, -32.69)
CIE-LCHlch(25.02, 34.29, 287.55°)
OKLaboklab(35.73% -0.0065 -0.0933)
OKLCHoklch(35.73% 0.094 266)
XYZxyz(4.9854, 4.4233, 15.0561)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25396D #6D5925
analogous
#255D6D #25396D #35256D
triadic
#25396D #6D2539 #396D25
tetradic
#25396D #6D255D #6D5925 #256D35
square
#25396D #6D255D #6D5925 #256D35
split-complementary
#25396D #6D3525 #5D6D25
monochromatic
#080C17 #15213F #25396D #35519B #4B6CC2

Accessibility & contrast

On white

11.14
#25396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25396D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25396D#FFFFFF#000000##FFFFFF
##25396D1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#14386C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25396d;
/* rgb */ color: rgb(37, 57, 109);
/* oklch */ color: oklch(35.7% 0.094 266.0);
Tailwind
colors: {
  custom: {
    50: '#676f97',
    500: '#25396d',
    950: '#000000',
  },
}
SCSS
$custom: #25396d;
$custom-light: #676f97;
$custom-dark: #000000;
JSON
{
  "hex": "#25396d",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 223.333,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.09358,
    "h": 266
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#25396D
secondary
#A0894E
accent
#B34FD9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #25396D

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

Preview Lab → · Contrast checker → · Palette generator →

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