#25309E#25309E

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

Color values

HEX#25309E
RGBrgb(37, 48, 158)
HSLhsl(235, 62%, 38%)
HSVhsv(235, 77%, 62%)
CMYKcmyk(76.6%, 69.6%, 0%, 38%)
CIE-LABlab(26.66, 35.13, -60.62)
CIE-LCHlch(26.66, 70.07, 300.09°)
OKLaboklab(38.21% 0.0019 -0.1754)
OKLCHoklch(38.21% 0.175 270.6)
XYZxyz(7.9894, 4.9750, 32.8803)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309E #9E9325
analogous
#256D9E #25309E #56259E
triadic
#25309E #9E2530 #309E25
tetradic
#25309E #9E256D #9E9325 #259E56
square
#25309E #9E256D #9E9325 #259E56
split-complementary
#25309E #9E5625 #6D9E25
monochromatic
#0E123B #19216C #25309E #3140CF #636EDA

Accessibility & contrast

On white

10.53
#25309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25309E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309E#FFFFFF#000000##FFFFFF
##25309E1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25309e;
/* rgb */ color: rgb(37, 48, 158);
/* oklch */ color: oklch(38.2% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#25309e',
    950: '#000000',
  },
}
SCSS
$custom: #25309e;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25309e",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 234.545,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.17545,
    "h": 270.6
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#25309E
secondary
#C0B75F
accent
#D643E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #25309E

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

Preview Lab → · Contrast checker → · Palette generator →

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