#25276E#25276E

#25276E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.120 H 275.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#25276E
RGBrgb(37, 39, 110)
HSLhsl(238, 50%, 29%)
HSVhsv(238, 66%, 43%)
CMYKcmyk(66.4%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.92, 23.35, -41.58)
CIE-LCHlch(19.92, 47.68, 299.32°)
OKLaboklab(31.91% 0.0125 -0.1197)
OKLCHoklch(31.91% 0.12 275.9)
XYZxyz(4.3020, 2.9698, 15.0953)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25276E #6E6C25
analogous
#254C6E #25276E #48256E
triadic
#25276E #6E2527 #276E25
tetradic
#25276E #6E254C #6E6C25 #256E48
square
#25276E #6E254C #6E6C25 #256E48
split-complementary
#25276E #6E4825 #4C6E25
monochromatic
#080817 #161740 #25276E #34379C #4B4EC2

Accessibility & contrast

On white

13.17
#25276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25276E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25276E#FFFFFF#000000##FFFFFF
##25276E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25276e;
/* rgb */ color: rgb(37, 39, 110);
/* oklch */ color: oklch(31.9% 0.120 275.9);
Tailwind
colors: {
  custom: {
    50: '#696198',
    500: '#25276e',
    950: '#000000',
  },
}
SCSS
$custom: #25276e;
$custom-light: #696198;
$custom-dark: #000000;
JSON
{
  "hex": "#25276e",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 238.356,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31914,
    "c": 0.12037,
    "h": 275.9
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#25276E
secondary
#A19F4E
accent
#D54FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25276E

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

Preview Lab → · Contrast checker → · Palette generator →

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