#25318E#25318E

#25318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 271.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#25318E
RGBrgb(37, 49, 142)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 56%)
CMYKcmyk(73.9%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.39, 28.58, -52.89)
CIE-LCHlch(25.39, 60.12, 298.38°)
OKLaboklab(36.82% 0.0026 -0.1528)
OKLCHoklch(36.82% 0.153 271)
XYZxyz(6.7421, 4.5422, 26.1074)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25318E #8E8225
analogous
#25658E #25318E #4E258E
triadic
#25318E #8E2531 #318E25
tetradic
#25318E #8E2565 #8E8225 #258E4E
square
#25318E #8E2565 #8E8225 #258E4E
split-complementary
#25318E #8E4E25 #658E25
monochromatic
#0C0F2D #18205D #25318E #3242BF #5A68D4

Accessibility & contrast

On white

11.00
#25318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#25318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25318E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25318E#FFFFFF#000000##FFFFFF
##25318E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25318e;
/* rgb */ color: rgb(37, 49, 142);
/* oklch */ color: oklch(36.8% 0.153 271.0);
Tailwind
colors: {
  custom: {
    50: '#7069b0',
    500: '#25318e',
    950: '#000000',
  },
}
SCSS
$custom: #25318e;
$custom-light: #7069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25318e",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 233.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.15285,
    "h": 271
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#25318E
secondary
#B9AD56
accent
#D046E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #25318E

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

Preview Lab → · Contrast checker → · Palette generator →

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