#25246A#25246A

#25246A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.119 H 277.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#25246A
RGBrgb(37, 36, 106)
HSLhsl(241, 49%, 28%)
HSVhsv(241, 66%, 42%)
CMYKcmyk(65.1%, 66%, 0%, 58.4%)
CIE-LABlab(18.78, 23.92, -40.84)
CIE-LCHlch(18.78, 47.33, 300.36°)
OKLaboklab(30.96% 0.0156 -0.1176)
OKLCHoklch(30.96% 0.119 277.5)
XYZxyz(3.9945, 2.6954, 13.9426)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25246A #696A24
analogous
#24466A #25246A #48246A
triadic
#25246A #6A2524 #246A25
tetradic
#25246A #6A2446 #696A24 #246A48
square
#25246A #6A2446 #696A24 #246A48
split-complementary
#25246A #6A4824 #466A24
monochromatic
#080817 #15143C #25246A #353498 #4948C1

Accessibility & contrast

On white

13.64
#25246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#25246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25246A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25246A#FFFFFF#000000##FFFFFF
##25246A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25246a;
/* rgb */ color: rgb(37, 36, 106);
/* oklch */ color: oklch(31.0% 0.119 277.5);
Tailwind
colors: {
  custom: {
    50: '#685f95',
    500: '#25246a',
    950: '#000000',
  },
}
SCSS
$custom: #25246a;
$custom-light: #685f95;
$custom-dark: #000000;
JSON
{
  "hex": "#25246a",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 240.857,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30965,
    "c": 0.11861,
    "h": 277.5
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#25246A
secondary
#9C9D4D
accent
#D94FD7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25246A

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

Preview Lab → · Contrast checker → · Palette generator →

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