#25338F#25338F

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

Color values

HEX#25338F
RGBrgb(37, 51, 143)
HSLhsl(232, 59%, 35%)
HSVhsv(232, 74%, 56%)
CMYKcmyk(74.1%, 64.3%, 0%, 43.9%)
CIE-LABlab(25.99, 27.62, -52.52)
CIE-LCHlch(25.99, 59.34, 297.73°)
OKLaboklab(37.29% 0.0011 -0.1517)
OKLCHoklch(37.29% 0.152 270.4)
XYZxyz(6.9030, 4.7434, 26.5330)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25338F #8F8125
analogous
#25688F #25338F #4C258F
triadic
#25338F #8F2533 #338F25
tetradic
#25338F #8F2568 #8F8125 #258F4C
square
#25338F #8F2568 #8F8125 #258F4C
split-complementary
#25338F #8F4C25 #688F25
monochromatic
#0C102E #18225E #25338F #3244C0 #5A6AD4

Accessibility & contrast

On white

10.78
#25338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#25338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25338F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25338F#FFFFFF#000000##FFFFFF
##25338F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25338f;
/* rgb */ color: rgb(37, 51, 143);
/* oklch */ color: oklch(37.3% 0.152 270.4);
Tailwind
colors: {
  custom: {
    50: '#706ab1',
    500: '#25338f',
    950: '#000000',
  },
}
SCSS
$custom: #25338f;
$custom-light: #706ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#25338f",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 232.075,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.15173,
    "h": 270.4
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#25338F
secondary
#B9AC57
accent
#CD46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #25338F

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

Preview Lab → · Contrast checker → · Palette generator →

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