#25256E#25256E

#25256E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.123 H 276.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#25256E
RGBrgb(37, 37, 110)
HSLhsl(240, 50%, 29%)
HSVhsv(240, 66%, 43%)
CMYKcmyk(66.4%, 66.4%, 0%, 56.9%)
CIE-LABlab(19.40, 24.72, -42.43)
CIE-LCHlch(19.40, 49.11, 300.22°)
OKLaboklab(31.53% 0.0144 -0.1222)
OKLCHoklch(31.53% 0.123 276.7)
XYZxyz(4.2381, 2.8419, 15.0740)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25256E #6E6E25
analogous
#254A6E #25256E #4A256E
triadic
#25256E #6E2525 #256E25
tetradic
#25256E #6E254A #6E6E25 #256E4A
square
#25256E #6E254A #6E6E25 #256E4A
split-complementary
#25256E #6E4A25 #4A6E25
monochromatic
#080817 #161640 #25256E #34349C #4B4BC2

Accessibility & contrast

On white

13.39
#25256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25256E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25256E#FFFFFF#000000##FFFFFF
##25256E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25256e;
/* rgb */ color: rgb(37, 37, 110);
/* oklch */ color: oklch(31.5% 0.123 276.7);
Tailwind
colors: {
  custom: {
    50: '#695f98',
    500: '#25256e',
    950: '#000000',
  },
}
SCSS
$custom: #25256e;
$custom-light: #695f98;
$custom-dark: #000000;
JSON
{
  "hex": "#25256e",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.12308,
    "h": 276.7
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#25256E
secondary
#A1A14E
accent
#D94FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25256E

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

Preview Lab → · Contrast checker → · Palette generator →

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