#25339B#25339B

#25339B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.168 H 270.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#25339B
RGBrgb(37, 51, 155)
HSLhsl(233, 61%, 38%)
HSVhsv(233, 76%, 61%)
CMYKcmyk(76.1%, 67.1%, 0%, 39.2%)
CIE-LABlab(27.09, 32.10, -58.09)
CIE-LCHlch(27.09, 66.37, 298.93°)
OKLaboklab(38.44% 0.0004 -0.168)
OKLCHoklch(38.44% 0.168 270.1)
XYZxyz(7.8611, 5.1267, 31.5792)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25339B #9B8D25
analogous
#256E9B #25339B #52259B
triadic
#25339B #9B2533 #339B25
tetradic
#25339B #9B256E #9B8D25 #259B52
square
#25339B #9B256E #9B8D25 #259B52
split-complementary
#25339B #9B5225 #6E9B25
monochromatic
#0D1238 #19236A #25339B #3143CC #616FD9

Accessibility & contrast

On white

10.37
#25339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#25339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25339B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25339B#FFFFFF#000000##FFFFFF
##25339B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25339b;
/* rgb */ color: rgb(37, 51, 155);
/* oklch */ color: oklch(38.4% 0.168 270.1);
Tailwind
colors: {
  custom: {
    50: '#736bb9',
    500: '#25339b',
    950: '#000000',
  },
}
SCSS
$custom: #25339b;
$custom-light: #736bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25339b",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 232.881,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.16803,
    "h": 270.1
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#25339B
secondary
#BFB35D
accent
#D143E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25339B

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

Preview Lab → · Contrast checker → · Palette generator →

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