#25396E#25396E

#25396E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.095 H 266.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#25396E
RGBrgb(37, 57, 110)
HSLhsl(224, 50%, 29%)
HSVhsv(224, 66%, 43%)
CMYKcmyk(66.4%, 48.2%, 0%, 56.9%)
CIE-LABlab(25.09, 10.72, -33.22)
CIE-LCHlch(25.09, 34.91, 287.89°)
OKLaboklab(35.8% -0.0063 -0.0949)
OKLCHoklch(35.8% 0.095 266.2)
XYZxyz(5.0396, 4.4449, 15.3412)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25396E #6E5A25
analogous
#255E6E #25396E #36256E
triadic
#25396E #6E2539 #396E25
tetradic
#25396E #6E255E #6E5A25 #256E36
square
#25396E #6E255E #6E5A25 #256E36
split-complementary
#25396E #6E3625 #5E6E25
monochromatic
#080C17 #162140 #25396E #34519C #4B6CC2

Accessibility & contrast

On white

11.12
#25396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25396E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25396E#FFFFFF#000000##FFFFFF
##25396E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#13386D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25396e;
/* rgb */ color: rgb(37, 57, 110);
/* oklch */ color: oklch(35.8% 0.095 266.2);
Tailwind
colors: {
  custom: {
    50: '#686f98',
    500: '#25396e',
    950: '#000000',
  },
}
SCSS
$custom: #25396e;
$custom-light: #686f98;
$custom-dark: #000000;
JSON
{
  "hex": "#25396e",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 223.562,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.09513,
    "h": 266.2
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#25396E
secondary
#A18A4E
accent
#B34FD9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #25396E

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

Preview Lab → · Contrast checker → · Palette generator →

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