#25309A#25309A

#25309A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.170 H 270.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#25309A
RGBrgb(37, 48, 154)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 76%, 60%)
CMYKcmyk(76%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.27, 33.68, -58.82)
CIE-LCHlch(26.27, 67.78, 299.79°)
OKLaboklab(37.81% 0.0023 -0.1702)
OKLCHoklch(37.81% 0.17 270.8)
XYZxyz(7.6507, 4.8395, 31.0965)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309A #9A8F25
analogous
#256B9A #25309A #55259A
triadic
#25309A #9A2530 #309A25
tetradic
#25309A #9A256B #9A8F25 #259A55
square
#25309A #9A256B #9A8F25 #259A55
split-complementary
#25309A #9A5525 #6B9A25
monochromatic
#0D1137 #192169 #25309A #313FCB #606CD9

Accessibility & contrast

On white

10.67
#25309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25309A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309A#FFFFFF#000000##FFFFFF
##25309A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25309a;
/* rgb */ color: rgb(37, 48, 154);
/* oklch */ color: oklch(37.8% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#7368b9',
    500: '#25309a',
    950: '#000000',
  },
}
SCSS
$custom: #25309a;
$custom-light: #7368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25309a",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 234.359,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.17021,
    "h": 270.8
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#25309A
secondary
#BEB55D
accent
#D543E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25309A

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

Preview Lab → · Contrast checker → · Palette generator →

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