#25307D#25307D

#25307D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.130 H 271.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#25307D
RGBrgb(37, 48, 125)
HSLhsl(233, 54%, 32%)
HSVhsv(233, 70%, 49%)
CMYKcmyk(70.4%, 61.6%, 0%, 51%)
CIE-LABlab(23.63, 22.81, -45.13)
CIE-LCHlch(23.63, 50.57, 296.82°)
OKLaboklab(35.06% 0.0039 -0.1301)
OKLCHoklch(35.06% 0.13 271.7)
XYZxyz(5.5203, 3.9874, 19.8768)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307D #7D7225
analogous
#255C7D #25307D #46257D
triadic
#25307D #7D2530 #307D25
tetradic
#25307D #7D255C #7D7225 #257D46
square
#25307D #7D255C #7D7225 #257D46
split-complementary
#25307D #7D4625 #5C7D25
monochromatic
#090C1F #171E4E #25307D #3342AC #5160CB

Accessibility & contrast

On white

11.68
#25307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307D#FFFFFF#000000##FFFFFF
##25307D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25307d;
/* rgb */ color: rgb(37, 48, 125);
/* oklch */ color: oklch(35.1% 0.130 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c68a3',
    500: '#25307d',
    950: '#000000',
  },
}
SCSS
$custom: #25307d;
$custom-light: #6c68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25307d",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 232.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.13012,
    "h": 271.7
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#25307D
secondary
#AFA34F
accent
#CB4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25307D

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

Preview Lab → · Contrast checker → · Palette generator →

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