#25246E#25246E

#25246E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.124 H 277.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#25246E
RGBrgb(37, 36, 110)
HSLhsl(241, 51%, 29%)
HSVhsv(241, 67%, 43%)
CMYKcmyk(66.4%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.14, 25.40, -42.85)
CIE-LCHlch(19.14, 49.81, 300.66°)
OKLaboklab(31.34% 0.0153 -0.1235)
OKLCHoklch(31.34% 0.124 277.1)
XYZxyz(4.2074, 2.7805, 15.0638)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25246E #6D6E24
analogous
#24486E #25246E #4A246E
triadic
#25246E #6E2524 #246E25
tetradic
#25246E #6E2448 #6D6E24 #246E4A
square
#25246E #6E2448 #6D6E24 #246E4A
split-complementary
#25246E #6E4A24 #486E24
monochromatic
#080817 #151540 #25246E #35339C #4B49C3

Accessibility & contrast

On white

13.49
#25246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#25246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25246E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25246E#FFFFFF#000000##FFFFFF
##25246E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25246e;
/* rgb */ color: rgb(37, 36, 110);
/* oklch */ color: oklch(31.3% 0.124 277.1);
Tailwind
colors: {
  custom: {
    50: '#695f98',
    500: '#25246e',
    950: '#000000',
  },
}
SCSS
$custom: #25246e;
$custom-light: #695f98;
$custom-dark: #000000;
JSON
{
  "hex": "#25246e",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 240.811,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31342,
    "c": 0.12441,
    "h": 277.1
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#25246E
secondary
#A0A14D
accent
#DA4ED8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25246E

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

Preview Lab → · Contrast checker → · Palette generator →

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