#25347A#25347A

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

Color values

HEX#25347A
RGBrgb(37, 52, 122)
HSLhsl(229, 53%, 31%)
HSVhsv(229, 70%, 48%)
CMYKcmyk(69.7%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.49, 18.88, -41.83)
CIE-LCHlch(24.49, 45.89, 294.30°)
OKLaboklab(35.63% 0.0002 -0.1203)
OKLCHoklch(35.63% 0.12 270.1)
XYZxyz(5.5026, 4.2539, 18.9397)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347A #7A6B25
analogous
#255E7A #25347A #40257A
triadic
#25347A #7A2534 #347A25
tetradic
#25347A #7A255E #7A6B25 #257A40
square
#25347A #7A255E #7A6B25 #257A40
split-complementary
#25347A #7A4025 #5E7A25
monochromatic
#090C1C #17204B #25347A #3348A9 #5065CA

Accessibility & contrast

On white

11.35
#25347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347A#FFFFFF#000000##FFFFFF
##25347A1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25347a;
/* rgb */ color: rgb(37, 52, 122);
/* oklch */ color: oklch(35.6% 0.120 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ba1',
    500: '#25347a',
    950: '#000000',
  },
}
SCSS
$custom: #25347a;
$custom-light: #6b6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#25347a",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 229.412,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.1203,
    "h": 270.1
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#25347A
secondary
#AC9C4E
accent
#C34BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25347A

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

Preview Lab → · Contrast checker → · Palette generator →

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