#25309D#25309D

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

Color values

HEX#25309D
RGBrgb(37, 48, 157)
HSLhsl(235, 62%, 38%)
HSVhsv(235, 76%, 62%)
CMYKcmyk(76.4%, 69.4%, 0%, 38.4%)
CIE-LABlab(26.57, 34.77, -60.18)
CIE-LCHlch(26.57, 69.50, 300.02°)
OKLaboklab(38.11% 0.002 -0.1741)
OKLCHoklch(38.11% 0.174 270.7)
XYZxyz(7.9036, 4.9407, 32.4289)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25309D #9D9225
analogous
#256C9D #25309D #56259D
triadic
#25309D #9D2530 #309D25
tetradic
#25309D #9D256C #9D9225 #259D56
square
#25309D #9D256C #9D9225 #259D56
split-complementary
#25309D #9D5625 #6C9D25
monochromatic
#0E123A #19216B #25309D #313FCE #626DDA

Accessibility & contrast

On white

10.56
#25309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#25309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25309D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25309D#FFFFFF#000000##FFFFFF
##25309D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25309d;
/* rgb */ color: rgb(37, 48, 157);
/* oklch */ color: oklch(38.1% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#7469bb',
    500: '#25309d',
    950: '#000000',
  },
}
SCSS
$custom: #25309d;
$custom-light: #7469bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25309d",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 234.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.17415,
    "h": 270.7
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25309D

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

Preview Lab → · Contrast checker → · Palette generator →

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