#25307A#25307A

#25307A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.126 H 271.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#25307A
RGBrgb(37, 48, 122)
HSLhsl(232, 53%, 31%)
HSVhsv(232, 70%, 48%)
CMYKcmyk(69.7%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.38, 21.67, -43.64)
CIE-LCHlch(23.38, 48.72, 296.41°)
OKLaboklab(34.79% 0.0039 -0.1257)
OKLCHoklch(34.79% 0.126 271.8)
XYZxyz(5.3316, 3.9119, 18.8827)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307A #7A6F25
analogous
#255A7A #25307A #44257A
triadic
#25307A #7A2530 #307A25
tetradic
#25307A #7A255A #7A6F25 #257A44
square
#25307A #7A255A #7A6F25 #257A44
split-complementary
#25307A #7A4425 #5A7A25
monochromatic
#090B1C #171E4B #25307A #3342A9 #505FCA

Accessibility & contrast

On white

11.78
#25307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#25307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307A#FFFFFF#000000##FFFFFF
##25307A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25307a;
/* rgb */ color: rgb(37, 48, 122);
/* oklch */ color: oklch(34.8% 0.126 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a1',
    500: '#25307a',
    950: '#000000',
  },
}
SCSS
$custom: #25307a;
$custom-light: #6b68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25307a",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 232.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.12574,
    "h": 271.8
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#25307A
secondary
#ACA04E
accent
#CA4BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25307A

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

Preview Lab → · Contrast checker → · Palette generator →

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