#25337F#25337F

#25337F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.129 H 270.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#25337F
RGBrgb(37, 51, 127)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 50%)
CMYKcmyk(70.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.62, 21.51, -44.78)
CIE-LCHlch(24.62, 49.68, 295.65°)
OKLaboklab(35.84% 0.0013 -0.129)
OKLCHoklch(35.84% 0.129 270.6)
XYZxyz(5.7762, 4.2927, 20.5987)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337F #7F7125
analogous
#25607F #25337F #44257F
triadic
#25337F #7F2533 #337F25
tetradic
#25337F #7F2560 #7F7125 #257F44
square
#25337F #7F2560 #7F7125 #257F44
split-complementary
#25337F #7F4425 #607F25
monochromatic
#090D20 #172050 #25337F #3346AE #5265CD

Accessibility & contrast

On white

11.30
#25337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337F#FFFFFF#000000##FFFFFF
##25337F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25337f;
/* rgb */ color: rgb(37, 51, 127);
/* oklch */ color: oklch(35.8% 0.129 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa5',
    500: '#25337f',
    950: '#000000',
  },
}
SCSS
$custom: #25337f;
$custom-light: #6c6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#25337f",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 230.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35844,
    "c": 0.12902,
    "h": 270.6
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#25337F
secondary
#B1A24F
accent
#C74ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25337F

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

Preview Lab → · Contrast checker → · Palette generator →

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