#25337C#25337C

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

Color values

HEX#25337C
RGBrgb(37, 51, 124)
HSLhsl(230, 54%, 32%)
HSVhsv(230, 70%, 49%)
CMYKcmyk(70.2%, 58.9%, 0%, 51.4%)
CIE-LABlab(24.37, 20.35, -43.29)
CIE-LCHlch(24.37, 47.83, 295.18°)
OKLaboklab(35.59% 0.0012 -0.1246)
OKLCHoklch(35.59% 0.125 270.6)
XYZxyz(5.5836, 4.2157, 19.5843)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337C #7C6E25
analogous
#255F7C #25337C #43257C
triadic
#25337C #7C2533 #337C25
tetradic
#25337C #7C255F #7C6E25 #257C43
square
#25337C #7C255F #7C6E25 #257C43
split-complementary
#25337C #7C4325 #5F7C25
monochromatic
#090C1E #17204D #25337C #3346AB #5064CB

Accessibility & contrast

On white

11.39
#25337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337C#FFFFFF#000000##FFFFFF
##25337C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25337c;
/* rgb */ color: rgb(37, 51, 124);
/* oklch */ color: oklch(35.6% 0.125 270.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa3',
    500: '#25337c',
    950: '#000000',
  },
}
SCSS
$custom: #25337c;
$custom-light: #6b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#25337c",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 230.345,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35585,
    "c": 0.12463,
    "h": 270.6
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#25337C
secondary
#AE9F4F
accent
#C64ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25337C

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

Preview Lab → · Contrast checker → · Palette generator →

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