#25396F#25396F

#25396F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.097 H 266.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#25396F
RGBrgb(37, 57, 111)
HSLhsl(224, 50%, 29%)
HSVhsv(224, 67%, 44%)
CMYKcmyk(66.7%, 48.6%, 0%, 56.5%)
CIE-LABlab(25.16, 11.11, -33.76)
CIE-LCHlch(25.16, 35.54, 288.22°)
OKLaboklab(35.87% -0.0062 -0.0965)
OKLCHoklch(35.87% 0.097 266.3)
XYZxyz(5.0943, 4.4668, 15.6296)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25396F #6F5B25
analogous
#255E6F #25396F #36256F
triadic
#25396F #6F2539 #396F25
tetradic
#25396F #6F255E #6F5B25 #256F36
square
#25396F #6F255E #6F5B25 #256F36
split-complementary
#25396F #6F3625 #5E6F25
monochromatic
#080C17 #162141 #25396F #34519D #4B6CC3

Accessibility & contrast

On white

11.09
#25396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#25396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25396F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25396F#FFFFFF#000000##FFFFFF
##25396F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#11396E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25396f;
/* rgb */ color: rgb(37, 57, 111);
/* oklch */ color: oklch(35.9% 0.097 266.3);
Tailwind
colors: {
  custom: {
    50: '#686f99',
    500: '#25396f',
    950: '#000000',
  },
}
SCSS
$custom: #25396f;
$custom-light: #686f99;
$custom-dark: #000000;
JSON
{
  "hex": "#25396f",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 223.784,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.09669,
    "h": 266.3
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#25396F
secondary
#A28B4E
accent
#B44EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #25396F

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

Preview Lab → · Contrast checker → · Palette generator →

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