#25339F#25339F

#25339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.173 H 270.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#25339F
RGBrgb(37, 51, 159)
HSLhsl(233, 62%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(76.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.47, 33.58, -59.90)
CIE-LCHlch(27.47, 68.67, 299.27°)
OKLaboklab(38.83% 0.0001 -0.1733)
OKLCHoklch(38.83% 0.173 270)
XYZxyz(8.2026, 5.2633, 33.3778)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25339F #9F9125
analogous
#25709F #25339F #54259F
triadic
#25339F #9F2533 #339F25
tetradic
#25339F #9F2570 #9F9125 #259F54
square
#25339F #9F2570 #9F9125 #259F54
split-complementary
#25339F #9F5425 #709F25
monochromatic
#0E133C #19236D #25339F #3244CF #6471DB

Accessibility & contrast

On white

10.23
#25339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#25339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25339F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25339F#FFFFFF#000000##FFFFFF
##25339F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25339f;
/* rgb */ color: rgb(37, 51, 159);
/* oklch */ color: oklch(38.8% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#746bbc',
    500: '#25339f',
    950: '#000000',
  },
}
SCSS
$custom: #25339f;
$custom-light: #746bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25339f",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 233.115,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.17333,
    "h": 270
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#25339F
secondary
#C0B55F
accent
#D342E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #25339F

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

Preview Lab → · Contrast checker → · Palette generator →

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