#25307B#25307B

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

Color values

HEX#25307B
RGBrgb(37, 48, 123)
HSLhsl(232, 54%, 31%)
HSVhsv(232, 70%, 48%)
CMYKcmyk(69.9%, 61%, 0%, 51.8%)
CIE-LABlab(23.46, 22.05, -44.14)
CIE-LCHlch(23.46, 49.34, 296.55°)
OKLaboklab(34.88% 0.0039 -0.1272)
OKLCHoklch(34.88% 0.127 271.8)
XYZxyz(5.3938, 3.9368, 19.2107)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307B #7B7025
analogous
#255B7B #25307B #45257B
triadic
#25307B #7B2530 #307B25
tetradic
#25307B #7B255B #7B7025 #257B45
square
#25307B #7B255B #7B7025 #257B45
split-complementary
#25307B #7B4525 #5B7B25
monochromatic
#090B1D #171E4C #25307B #3342AA #5060CA

Accessibility & contrast

On white

11.75
#25307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307B#FFFFFF#000000##FFFFFF
##25307B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25307b;
/* rgb */ color: rgb(37, 48, 123);
/* oklch */ color: oklch(34.9% 0.127 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a2',
    500: '#25307b',
    950: '#000000',
  },
}
SCSS
$custom: #25307b;
$custom-light: #6b68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25307b",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 232.326,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.12721,
    "h": 271.8
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25307B

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

Preview Lab → · Contrast checker → · Palette generator →

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