#25338E#25338E

#25338E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.150 H 270.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#25338E
RGBrgb(37, 51, 142)
HSLhsl(232, 59%, 35%)
HSVhsv(232, 74%, 56%)
CMYKcmyk(73.9%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.90, 27.24, -52.05)
CIE-LCHlch(25.90, 58.75, 297.62°)
OKLaboklab(37.2% 0.0011 -0.1504)
OKLCHoklch(37.2% 0.15 270.4)
XYZxyz(6.8276, 4.7133, 26.1359)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25338E #8E8025
analogous
#25678E #25338E #4B258E
triadic
#25338E #8E2533 #338E25
tetradic
#25338E #8E2567 #8E8025 #258E4B
square
#25338E #8E2567 #8E8025 #258E4B
split-complementary
#25338E #8E4B25 #678E25
monochromatic
#0C102D #18225D #25338E #3244BF #5A6AD4

Accessibility & contrast

On white

10.81
#25338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#25338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25338E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25338E#FFFFFF#000000##FFFFFF
##25338E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25338e;
/* rgb */ color: rgb(37, 51, 142);
/* oklch */ color: oklch(37.2% 0.150 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f6ab0',
    500: '#25338e',
    950: '#000000',
  },
}
SCSS
$custom: #25338e;
$custom-light: #6f6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#25338e",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 232,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37198,
    "c": 0.15035,
    "h": 270.4
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#25338E
secondary
#B9AB56
accent
#CD46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25338E

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

Preview Lab → · Contrast checker → · Palette generator →

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