#25308F#25308F

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

Color values

HEX#25308F
RGBrgb(37, 48, 143)
HSLhsl(234, 59%, 35%)
HSVhsv(234, 74%, 56%)
CMYKcmyk(74.1%, 66.4%, 0%, 43.9%)
CIE-LABlab(25.23, 29.62, -53.77)
CIE-LCHlch(25.23, 61.39, 298.84°)
OKLaboklab(36.73% 0.0032 -0.1554)
OKLCHoklch(36.73% 0.155 271.2)
XYZxyz(6.7761, 4.4897, 26.4908)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308F #8F8425
analogous
#25658F #25308F #4F258F
triadic
#25308F #8F2530 #308F25
tetradic
#25308F #8F2565 #8F8425 #258F4F
square
#25308F #8F2565 #8F8425 #258F4F
split-complementary
#25308F #8F4F25 #658F25
monochromatic
#0C0F2E #18205E #25308F #3240C0 #5A67D4

Accessibility & contrast

On white

11.06
#25308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#25308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25308F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308F#FFFFFF#000000##FFFFFF
##25308F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25308f;
/* rgb */ color: rgb(37, 48, 143);
/* oklch */ color: oklch(36.7% 0.155 271.2);
Tailwind
colors: {
  custom: {
    50: '#7068b1',
    500: '#25308f',
    950: '#000000',
  },
}
SCSS
$custom: #25308f;
$custom-light: #7068b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25308f",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 233.774,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.15545,
    "h": 271.2
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#25308F
secondary
#B9AF57
accent
#D246E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #25308F

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

Preview Lab → · Contrast checker → · Palette generator →

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