#25316E#25316E

#25316E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.106 H 271.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#25316E
RGBrgb(37, 49, 110)
HSLhsl(230, 50%, 29%)
HSVhsv(230, 66%, 43%)
CMYKcmyk(66.4%, 55.5%, 0%, 56.9%)
CIE-LABlab(22.71, 16.35, -37.06)
CIE-LCHlch(22.71, 40.51, 293.81°)
OKLaboklab(33.99% 0.0024 -0.1063)
OKLCHoklch(33.99% 0.106 271.3)
XYZxyz(4.6748, 3.7153, 15.2196)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25316E #6E6225
analogous
#25566E #25316E #3E256E
triadic
#25316E #6E2531 #316E25
tetradic
#25316E #6E2556 #6E6225 #256E3E
square
#25316E #6E2556 #6E6225 #256E3E
split-complementary
#25316E #6E3E25 #566E25
monochromatic
#080A17 #161D40 #25316E #34459C #4B5FC2

Accessibility & contrast

On white

12.05
#25316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#25316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25316E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25316E#FFFFFF#000000##FFFFFF
##25316E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25316e;
/* rgb */ color: rgb(37, 49, 110);
/* oklch */ color: oklch(34.0% 0.106 271.3);
Tailwind
colors: {
  custom: {
    50: '#686898',
    500: '#25316e',
    950: '#000000',
  },
}
SCSS
$custom: #25316e;
$custom-light: #686898;
$custom-dark: #000000;
JSON
{
  "hex": "#25316e",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 230.137,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.10635,
    "h": 271.3
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#25316E
secondary
#A1934E
accent
#C24FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #25316E

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

Preview Lab → · Contrast checker → · Palette generator →

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