#25276F#25276F

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

Color values

HEX#25276F
RGBrgb(37, 39, 111)
HSLhsl(238, 50%, 29%)
HSVhsv(238, 67%, 44%)
CMYKcmyk(66.7%, 64.9%, 0%, 56.5%)
CIE-LABlab(20.01, 23.72, -42.08)
CIE-LCHlch(20.01, 48.31, 299.41°)
OKLaboklab(32.01% 0.0124 -0.1212)
OKLCHoklch(32.01% 0.122 275.9)
XYZxyz(4.3568, 2.9917, 15.3837)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25276F #6F6D25
analogous
#254C6F #25276F #48256F
triadic
#25276F #6F2527 #276F25
tetradic
#25276F #6F254C #6F6D25 #256F48
square
#25276F #6F254C #6F6D25 #256F48
split-complementary
#25276F #6F4825 #4C6F25
monochromatic
#080817 #161741 #25276F #34379D #4B4FC3

Accessibility & contrast

On white

13.14
#25276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25276F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25276F#FFFFFF#000000##FFFFFF
##25276F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25276f;
/* rgb */ color: rgb(37, 39, 111);
/* oklch */ color: oklch(32.0% 0.122 275.9);
Tailwind
colors: {
  custom: {
    50: '#696199',
    500: '#25276f',
    950: '#000000',
  },
}
SCSS
$custom: #25276f;
$custom-light: #696199;
$custom-dark: #000000;
JSON
{
  "hex": "#25276f",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 238.378,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.12182,
    "h": 275.9
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#25276F
secondary
#A2A04E
accent
#D64EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25276F

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

Preview Lab → · Contrast checker → · Palette generator →

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