#25309F#25309F

#25309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 270.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#25309F
RGBrgb(37, 48, 159)
HSLhsl(235, 62%, 38%)
HSVhsv(235, 77%, 62%)
CMYKcmyk(76.7%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.76, 35.49, -61.07)
CIE-LCHlch(26.76, 70.64, 300.17°)
OKLaboklab(38.31% 0.0018 -0.1767)
OKLCHoklch(38.31% 0.177 270.6)
XYZxyz(8.0758, 5.0095, 33.3355)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309F #9F9425
analogous
#256D9F #25309F #57259F
triadic
#25309F #9F2530 #309F25
tetradic
#25309F #9F256D #9F9425 #259F57
square
#25309F #9F256D #9F9425 #259F57
split-complementary
#25309F #9F5725 #6D9F25
monochromatic
#0E123C #19216D #25309F #3240CF #646EDB

Accessibility & contrast

On white

10.49
#25309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#25309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25309F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309F#FFFFFF#000000##FFFFFF
##25309F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25309f;
/* rgb */ color: rgb(37, 48, 159);
/* oklch */ color: oklch(38.3% 0.177 270.6);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#25309f',
    950: '#000000',
  },
}
SCSS
$custom: #25309f;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25309f",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 234.59,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.17676,
    "h": 270.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#25309F
secondary
#C0B85F
accent
#D742E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #25309F

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

Preview Lab → · Contrast checker → · Palette generator →

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