#25256F#25256F

#25256F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.125 H 276.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#25256F
RGBrgb(37, 37, 111)
HSLhsl(240, 50%, 29%)
HSVhsv(240, 67%, 44%)
CMYKcmyk(66.7%, 66.7%, 0%, 56.5%)
CIE-LABlab(19.49, 25.09, -42.93)
CIE-LCHlch(19.49, 49.72, 300.30°)
OKLaboklab(31.62% 0.0143 -0.1237)
OKLCHoklch(31.62% 0.125 276.6)
XYZxyz(4.2928, 2.8638, 15.3624)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25256F #6F6F25
analogous
#254A6F #25256F #4A256F
triadic
#25256F #6F2525 #256F25
tetradic
#25256F #6F254A #6F6F25 #256F4A
square
#25256F #6F254A #6F6F25 #256F4A
split-complementary
#25256F #6F4A25 #4A6F25
monochromatic
#080817 #161641 #25256F #34349D #4B4BC3

Accessibility & contrast

On white

13.35
#25256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25256F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25256F#FFFFFF#000000##FFFFFF
##25256F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25256f;
/* rgb */ color: rgb(37, 37, 111);
/* oklch */ color: oklch(31.6% 0.125 276.6);
Tailwind
colors: {
  custom: {
    50: '#695f99',
    500: '#25256f',
    950: '#000000',
  },
}
SCSS
$custom: #25256f;
$custom-light: #695f99;
$custom-dark: #000000;
JSON
{
  "hex": "#25256f",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.12452,
    "h": 276.6
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#25256F
secondary
#A2A24E
accent
#DA4EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25256F

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

Preview Lab → · Contrast checker → · Palette generator →

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