#25338A#25338A

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

Color values

HEX#25338A
RGBrgb(37, 51, 138)
HSLhsl(232, 58%, 34%)
HSVhsv(232, 73%, 54%)
CMYKcmyk(73.2%, 63%, 0%, 45.9%)
CIE-LABlab(25.55, 25.72, -50.15)
CIE-LCHlch(25.55, 56.36, 297.15°)
OKLaboklab(36.83% 0.0013 -0.1448)
OKLCHoklch(36.83% 0.145 270.5)
XYZxyz(6.5327, 4.5953, 24.5825)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25338A #8A7C25
analogous
#25668A #25338A #4A258A
triadic
#25338A #8A2533 #338A25
tetradic
#25338A #8A2566 #8A7C25 #258A4A
square
#25338A #8A2566 #8A7C25 #258A4A
split-complementary
#25338A #8A4A25 #668A25
monochromatic
#0B0F29 #18215A #25338A #3245BA #5768D2

Accessibility & contrast

On white

10.94
#25338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#25338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25338A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25338A#FFFFFF#000000##FFFFFF
##25338A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25338a;
/* rgb */ color: rgb(37, 51, 138);
/* oklch */ color: oklch(36.8% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f6aad',
    500: '#25338a',
    950: '#000000',
  },
}
SCSS
$custom: #25338a;
$custom-light: #6f6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#25338a",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 231.683,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.14477,
    "h": 270.5
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25338A

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

Preview Lab → · Contrast checker → · Palette generator →

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