#25399C#25399C

#25399C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.162 H 268.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#25399C
RGBrgb(37, 57, 156)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 76%, 61%)
CMYKcmyk(76.3%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.69, 28.52, -56.08)
CIE-LCHlch(28.69, 62.91, 296.95°)
OKLaboklab(39.64% -0.0035 -0.1621)
OKLCHoklch(39.64% 0.162 268.8)
XYZxyz(8.2248, 5.7190, 32.1165)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25399C #9C8825
analogous
#25749C #25399C #4C259C
triadic
#25399C #9C2539 #399C25
tetradic
#25399C #9C2574 #9C8825 #259C4C
square
#25399C #9C2574 #9C8825 #259C4C
split-complementary
#25399C #9C4C25 #749C25
monochromatic
#0E1539 #19276B #25399C #314BCD #6276DA

Accessibility & contrast

On white

9.79
#25399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#25399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25399C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25399C#FFFFFF#000000##FFFFFF
##25399C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25399c;
/* rgb */ color: rgb(37, 57, 156);
/* oklch */ color: oklch(39.6% 0.162 268.8);
Tailwind
colors: {
  custom: {
    50: '#726fba',
    500: '#25399c',
    950: '#000000',
  },
}
SCSS
$custom: #25399c;
$custom-light: #726fba;
$custom-dark: #000000;
JSON
{
  "hex": "#25399c",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 229.916,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.16213,
    "h": 268.8
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#25399C
secondary
#BFAF5E
accent
#CA43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25399C

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

Preview Lab → · Contrast checker → · Palette generator →

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