#25309C#25309C

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

Color values

HEX#25309C
RGBrgb(37, 48, 156)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 76%, 61%)
CMYKcmyk(76.3%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.47, 34.41, -59.73)
CIE-LCHlch(26.47, 68.93, 299.94°)
OKLaboklab(38.01% 0.0021 -0.1728)
OKLCHoklch(38.01% 0.173 270.7)
XYZxyz(7.8186, 4.9067, 31.9811)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309C #9C9125
analogous
#256B9C #25309C #56259C
triadic
#25309C #9C2530 #309C25
tetradic
#25309C #9C256B #9C9125 #259C56
square
#25309C #9C256B #9C9125 #259C56
split-complementary
#25309C #9C5625 #6B9C25
monochromatic
#0E1239 #19216B #25309C #313FCD #626DDA

Accessibility & contrast

On white

10.60
#25309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#25309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25309C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309C#FFFFFF#000000##FFFFFF
##25309C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25309c;
/* rgb */ color: rgb(37, 48, 156);
/* oklch */ color: oklch(38.0% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#25309c',
    950: '#000000',
  },
}
SCSS
$custom: #25309c;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25309c",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 234.454,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.17284,
    "h": 270.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25309C

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

Preview Lab → · Contrast checker → · Palette generator →

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