#25309B#25309B

#25309B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.172 H 270.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#25309B
RGBrgb(37, 48, 155)
HSLhsl(234, 61%, 38%)
HSVhsv(234, 76%, 61%)
CMYKcmyk(76.1%, 69%, 0%, 39.2%)
CIE-LABlab(26.37, 34.04, -59.28)
CIE-LCHlch(26.37, 68.36, 299.87°)
OKLaboklab(37.91% 0.0022 -0.1715)
OKLCHoklch(37.91% 0.172 270.7)
XYZxyz(7.7343, 4.8730, 31.5369)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309B #9B9025
analogous
#256B9B #25309B #55259B
triadic
#25309B #9B2530 #309B25
tetradic
#25309B #9B256B #9B9025 #259B55
square
#25309B #9B256B #9B9025 #259B55
split-complementary
#25309B #9B5525 #6B9B25
monochromatic
#0D1138 #19216A #25309B #313FCC #616CD9

Accessibility & contrast

On white

10.63
#25309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#25309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25309B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309B#FFFFFF#000000##FFFFFF
##25309B1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25309b;
/* rgb */ color: rgb(37, 48, 155);
/* oklch */ color: oklch(37.9% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#25309b',
    950: '#000000',
  },
}
SCSS
$custom: #25309b;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25309b",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 234.407,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37911,
    "c": 0.17152,
    "h": 270.7
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#25309B
secondary
#BFB55D
accent
#D643E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25309B

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

Preview Lab → · Contrast checker → · Palette generator →

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