#25246C#25246C

#25246C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.122 H 277.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#25246C
RGBrgb(37, 36, 108)
HSLhsl(241, 50%, 28%)
HSVhsv(241, 67%, 42%)
CMYKcmyk(65.7%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.96, 24.66, -41.85)
CIE-LCHlch(18.96, 48.57, 300.51°)
OKLaboklab(31.15% 0.0154 -0.1205)
OKLCHoklch(31.15% 0.122 277.3)
XYZxyz(4.0997, 2.7375, 14.4968)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25246C #6B6C24
analogous
#24476C #25246C #49246C
triadic
#25246C #6C2524 #246C25
tetradic
#25246C #6C2447 #6B6C24 #246C49
square
#25246C #6C2447 #6B6C24 #246C49
split-complementary
#25246C #6C4924 #476C24
monochromatic
#080817 #15153E #25246C #35339A #4A48C2

Accessibility & contrast

On white

13.57
#25246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#25246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25246C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25246C#FFFFFF#000000##FFFFFF
##25246C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25246c;
/* rgb */ color: rgb(37, 36, 108);
/* oklch */ color: oklch(31.2% 0.122 277.3);
Tailwind
colors: {
  custom: {
    50: '#695f97',
    500: '#25246c',
    950: '#000000',
  },
}
SCSS
$custom: #25246c;
$custom-light: #695f97;
$custom-dark: #000000;
JSON
{
  "hex": "#25246c",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 240.833,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31153,
    "c": 0.12152,
    "h": 277.3
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#25246C
secondary
#9E9F4D
accent
#DA4ED8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25246C

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

Preview Lab → · Contrast checker → · Palette generator →

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