#25316D#25316D

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

Color values

HEX#25316D
RGBrgb(37, 49, 109)
HSLhsl(230, 49%, 29%)
HSVhsv(230, 66%, 43%)
CMYKcmyk(66.1%, 55%, 0%, 57.3%)
CIE-LABlab(22.63, 15.97, -36.54)
CIE-LCHlch(22.63, 39.87, 293.61°)
OKLaboklab(33.91% 0.0023 -0.1048)
OKLCHoklch(33.91% 0.105 271.3)
XYZxyz(4.6207, 3.6937, 14.9345)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25316D #6D6125
analogous
#25556D #25316D #3D256D
triadic
#25316D #6D2531 #316D25
tetradic
#25316D #6D2555 #6D6125 #256D3D
square
#25316D #6D2555 #6D6125 #256D3D
split-complementary
#25316D #6D3D25 #556D25
monochromatic
#080A17 #151C3F #25316D #35469B #4B5EC2

Accessibility & contrast

On white

12.08
#25316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25316D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25316D#FFFFFF#000000##FFFFFF
##25316D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25316d;
/* rgb */ color: rgb(37, 49, 109);
/* oklch */ color: oklch(33.9% 0.105 271.3);
Tailwind
colors: {
  custom: {
    50: '#686897',
    500: '#25316d',
    950: '#000000',
  },
}
SCSS
$custom: #25316d;
$custom-light: #686897;
$custom-dark: #000000;
JSON
{
  "hex": "#25316d",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 230,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.10481,
    "h": 271.3
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25316D

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

Preview Lab → · Contrast checker → · Palette generator →

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