#25337D#25337D

#25337D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.126 H 270.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#25337D
RGBrgb(37, 51, 125)
HSLhsl(230, 54%, 32%)
HSVhsv(230, 70%, 49%)
CMYKcmyk(70.4%, 59.2%, 0%, 51%)
CIE-LABlab(24.45, 20.74, -43.79)
CIE-LCHlch(24.45, 48.45, 295.34°)
OKLaboklab(35.67% 0.0012 -0.1261)
OKLCHoklch(35.67% 0.126 270.6)
XYZxyz(5.6472, 4.2411, 19.9191)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337D #7D6F25
analogous
#255F7D #25337D #43257D
triadic
#25337D #7D2533 #337D25
tetradic
#25337D #7D255F #7D6F25 #257D43
square
#25337D #7D255F #7D6F25 #257D43
split-complementary
#25337D #7D4325 #5F7D25
monochromatic
#090C1F #17204E #25337D #3346AC #5164CB

Accessibility & contrast

On white

11.36
#25337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337D#FFFFFF#000000##FFFFFF
##25337D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25337d;
/* rgb */ color: rgb(37, 51, 125);
/* oklch */ color: oklch(35.7% 0.126 270.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa3',
    500: '#25337d',
    950: '#000000',
  },
}
SCSS
$custom: #25337d;
$custom-light: #6b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#25337d",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 230.455,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.1261,
    "h": 270.6
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#25337D
secondary
#AFA04F
accent
#C64ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25337D

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

Preview Lab → · Contrast checker → · Palette generator →

#25337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva