#25308E#25308E

#25308E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 271.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#25308E
RGBrgb(37, 48, 142)
HSLhsl(234, 59%, 35%)
HSVhsv(234, 74%, 56%)
CMYKcmyk(73.9%, 66.2%, 0%, 44.3%)
CIE-LABlab(25.14, 29.24, -53.30)
CIE-LCHlch(25.14, 60.80, 298.75°)
OKLaboklab(36.64% 0.0033 -0.154)
OKLCHoklch(36.64% 0.154 271.2)
XYZxyz(6.7007, 4.4595, 26.0936)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308E #8E8325
analogous
#25658E #25308E #4E258E
triadic
#25308E #8E2530 #308E25
tetradic
#25308E #8E2565 #8E8325 #258E4E
square
#25308E #8E2565 #8E8325 #258E4E
split-complementary
#25308E #8E4E25 #658E25
monochromatic
#0C0F2D #18205D #25308E #3240BF #5A66D4

Accessibility & contrast

On white

11.10
#25308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#25308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25308E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308E#FFFFFF#000000##FFFFFF
##25308E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25308e;
/* rgb */ color: rgb(37, 48, 142);
/* oklch */ color: oklch(36.6% 0.154 271.2);
Tailwind
colors: {
  custom: {
    50: '#7068b0',
    500: '#25308e',
    950: '#000000',
  },
}
SCSS
$custom: #25308e;
$custom-light: #7068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25308e",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 233.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36635,
    "c": 0.15408,
    "h": 271.2
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#25308E
secondary
#B9AE56
accent
#D246E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #25308E

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

Preview Lab → · Contrast checker → · Palette generator →

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