#25267C#25267C

#25267C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.142 H 274.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#25267C
RGBrgb(37, 38, 124)
HSLhsl(239, 54%, 32%)
HSVhsv(239, 70%, 49%)
CMYKcmyk(70.2%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.96, 29.20, -48.86)
CIE-LCHlch(20.96, 56.92, 300.86°)
OKLaboklab(33.07% 0.0121 -0.1411)
OKLCHoklch(33.07% 0.142 274.9)
XYZxyz(5.0930, 3.2343, 19.4208)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25267C #7C7B25
analogous
#25527C #25267C #50257C
triadic
#25267C #7C2526 #267C25
tetradic
#25267C #7C2552 #7C7B25 #257C50
square
#25267C #7C2552 #7C7B25 #257C50
split-complementary
#25267C #7C5025 #527C25
monochromatic
#09091E #17184D #25267C #3334AB #5052CB

Accessibility & contrast

On white

12.75
#25267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#25267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25267C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25267C#FFFFFF#000000##FFFFFF
##25267C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #25267c;
/* rgb */ color: rgb(37, 38, 124);
/* oklch */ color: oklch(33.1% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c61a3',
    500: '#25267c',
    950: '#000000',
  },
}
SCSS
$custom: #25267c;
$custom-light: #6c61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25267c",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 239.31,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3307,
    "c": 0.1416,
    "h": 274.9
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#25267C
secondary
#AEAD4F
accent
#DC4ADD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #25267C

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

Preview Lab → · Contrast checker → · Palette generator →

#25267C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva