#25316A#25316A

#25316A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.100 H 271.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#25316A
RGBrgb(37, 49, 106)
HSLhsl(230, 48%, 28%)
HSVhsv(230, 65%, 42%)
CMYKcmyk(65.1%, 53.8%, 0%, 58.4%)
CIE-LABlab(22.41, 14.81, -34.96)
CIE-LCHlch(22.41, 37.97, 292.96°)
OKLaboklab(33.67% 0.002 -0.1001)
OKLCHoklch(33.67% 0.1 271.1)
XYZxyz(4.4619, 3.6302, 14.0984)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25316A #6A5E25
analogous
#25536A #25316A #3B256A
triadic
#25316A #6A2531 #316A25
tetradic
#25316A #6A2553 #6A5E25 #256A3B
square
#25316A #6A2553 #6A5E25 #256A3B
split-complementary
#25316A #6A3B25 #536A25
monochromatic
#080A17 #151C3D #25316A #354697 #4A5EC0

Accessibility & contrast

On white

12.17
#25316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#25316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25316A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25316A#FFFFFF#000000##FFFFFF
##25316A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#013369
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25316a;
/* rgb */ color: rgb(37, 49, 106);
/* oklch */ color: oklch(33.7% 0.100 271.1);
Tailwind
colors: {
  custom: {
    50: '#676895',
    500: '#25316a',
    950: '#000000',
  },
}
SCSS
$custom: #25316a;
$custom-light: #676895;
$custom-dark: #000000;
JSON
{
  "hex": "#25316a",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 229.565,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33668,
    "c": 0.10016,
    "h": 271.1
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#25316A
secondary
#9D8F4E
accent
#C050D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #25316A

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

Preview Lab → · Contrast checker → · Palette generator →

#25316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva