#25347E#25347E

#25347E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.126 H 270.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#25347E
RGBrgb(37, 52, 126)
HSLhsl(230, 55%, 32%)
HSVhsv(230, 71%, 49%)
CMYKcmyk(70.6%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.81, 20.43, -43.84)
CIE-LCHlch(24.81, 48.36, 294.99°)
OKLaboklab(35.97% 0.0004 -0.1262)
OKLCHoklch(35.97% 0.126 270.2)
XYZxyz(5.7556, 4.3551, 20.2719)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347E #7E6F25
analogous
#25617E #25347E #43257E
triadic
#25347E #7E2534 #347E25
tetradic
#25347E #7E2561 #7E6F25 #257E43
square
#25347E #7E2561 #7E6F25 #257E43
split-complementary
#25347E #7E4325 #617E25
monochromatic
#090D1F #17204F #25347E #3348AD #5166CC

Accessibility & contrast

On white

11.22
#25347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347E#FFFFFF#000000##FFFFFF
##25347E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25347e;
/* rgb */ color: rgb(37, 52, 126);
/* oklch */ color: oklch(36.0% 0.126 270.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ba4',
    500: '#25347e',
    950: '#000000',
  },
}
SCSS
$custom: #25347e;
$custom-light: #6c6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#25347e",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 229.888,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.12621,
    "h": 270.2
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#25347E
secondary
#B0A04F
accent
#C54ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25347E

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

Preview Lab → · Contrast checker → · Palette generator →

#25347E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva