#25337A#25337A

#25337A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.122 H 270.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#25337A
RGBrgb(37, 51, 122)
HSLhsl(230, 53%, 31%)
HSVhsv(230, 70%, 48%)
CMYKcmyk(69.7%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.21, 19.58, -42.28)
CIE-LCHlch(24.21, 46.60, 294.85°)
OKLaboklab(35.41% 0.0011 -0.1217)
OKLCHoklch(35.41% 0.122 270.5)
XYZxyz(5.4584, 4.1656, 18.9250)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337A #7A6C25
analogous
#255D7A #25337A #41257A
triadic
#25337A #7A2533 #337A25
tetradic
#25337A #7A255D #7A6C25 #257A41
square
#25337A #7A255D #7A6C25 #257A41
split-complementary
#25337A #7A4125 #5D7A25
monochromatic
#090C1C #171F4B #25337A #3347A9 #5064CA

Accessibility & contrast

On white

11.46
#25337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#25337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337A#FFFFFF#000000##FFFFFF
##25337A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25337a;
/* rgb */ color: rgb(37, 51, 122);
/* oklch */ color: oklch(35.4% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b6aa1',
    500: '#25337a',
    950: '#000000',
  },
}
SCSS
$custom: #25337a;
$custom-light: #6b6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#25337a",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 230.118,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35414,
    "c": 0.12167,
    "h": 270.5
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#25337A
secondary
#AC9D4E
accent
#C54BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25337A

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

Preview Lab → · Contrast checker → · Palette generator →

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