#25347C#25347C

#25347C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.123 H 270.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#25347C
RGBrgb(37, 52, 124)
HSLhsl(230, 54%, 32%)
HSVhsv(230, 70%, 49%)
CMYKcmyk(70.2%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.65, 19.66, -42.83)
CIE-LCHlch(24.65, 47.13, 294.65°)
OKLaboklab(35.79% 0.0003 -0.1233)
OKLCHoklch(35.79% 0.123 270.1)
XYZxyz(5.6278, 4.3040, 19.5990)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347C #7C6D25
analogous
#25607C #25347C #42257C
triadic
#25347C #7C2534 #347C25
tetradic
#25347C #7C2560 #7C6D25 #257C42
square
#25347C #7C2560 #7C6D25 #257C42
split-complementary
#25347C #7C4225 #607C25
monochromatic
#090C1E #17204D #25347C #3348AB #5066CB

Accessibility & contrast

On white

11.28
#25347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347C#FFFFFF#000000##FFFFFF
##25347C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25347c;
/* rgb */ color: rgb(37, 52, 124);
/* oklch */ color: oklch(35.8% 0.123 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ba2',
    500: '#25347c',
    950: '#000000',
  },
}
SCSS
$custom: #25347c;
$custom-light: #6b6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#25347c",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 229.655,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35794,
    "c": 0.12327,
    "h": 270.1
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#25347C
secondary
#AE9E4F
accent
#C44ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25347C

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

Preview Lab → · Contrast checker → · Palette generator →

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