#25338B#25338B

#25338B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.146 H 270.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#25338B
RGBrgb(37, 51, 139)
HSLhsl(232, 58%, 35%)
HSVhsv(232, 73%, 55%)
CMYKcmyk(73.4%, 63.3%, 0%, 45.5%)
CIE-LABlab(25.64, 26.10, -50.62)
CIE-LCHlch(25.64, 56.96, 297.27°)
OKLaboklab(36.92% 0.0012 -0.1462)
OKLCHoklch(36.92% 0.146 270.5)
XYZxyz(6.6054, 4.6244, 24.9656)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25338B #8B7D25
analogous
#25668B #25338B #4A258B
triadic
#25338B #8B2533 #338B25
tetradic
#25338B #8B2566 #8B7D25 #258B4A
square
#25338B #8B2566 #8B7D25 #258B4A
split-complementary
#25338B #8B4A25 #668B25
monochromatic
#0B102A #18215B #25338B #3245BB #5869D3

Accessibility & contrast

On white

10.91
#25338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#25338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25338B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25338B#FFFFFF#000000##FFFFFF
##25338B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25338b;
/* rgb */ color: rgb(37, 51, 139);
/* oklch */ color: oklch(36.9% 0.146 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f6aae',
    500: '#25338b',
    950: '#000000',
  },
}
SCSS
$custom: #25338b;
$custom-light: #6f6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#25338b",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 231.765,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3692,
    "c": 0.14618,
    "h": 270.5
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#25338B
secondary
#B7AA55
accent
#CC47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25338B

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

Preview Lab → · Contrast checker → · Palette generator →

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