#25339A#25339A

#25339A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.167 H 270.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#25339A
RGBrgb(37, 51, 154)
HSLhsl(233, 61%, 37%)
HSVhsv(233, 76%, 60%)
CMYKcmyk(76%, 66.9%, 0%, 39.6%)
CIE-LABlab(27.00, 31.73, -57.63)
CIE-LCHlch(27.00, 65.79, 298.84°)
OKLaboklab(38.34% 0.0005 -0.1667)
OKLCHoklch(38.34% 0.167 270.2)
XYZxyz(7.7775, 5.0932, 31.1388)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25339A #9A8C25
analogous
#256D9A #25339A #52259A
triadic
#25339A #9A2533 #339A25
tetradic
#25339A #9A256D #9A8C25 #259A52
square
#25339A #9A256D #9A8C25 #259A52
split-complementary
#25339A #9A5225 #6D9A25
monochromatic
#0D1237 #192369 #25339A #3143CB #606FD9

Accessibility & contrast

On white

10.40
#25339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#25339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25339A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25339A#FFFFFF#000000##FFFFFF
##25339A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25339a;
/* rgb */ color: rgb(37, 51, 154);
/* oklch */ color: oklch(38.3% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#25339a',
    950: '#000000',
  },
}
SCSS
$custom: #25339a;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25339a",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 232.821,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.16669,
    "h": 270.2
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#25339A
secondary
#BEB25D
accent
#D143E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25339A

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

Preview Lab → · Contrast checker → · Palette generator →

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