#25347F#25347F

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

Color values

HEX#25347F
RGBrgb(37, 52, 127)
HSLhsl(230, 55%, 32%)
HSVhsv(230, 71%, 50%)
CMYKcmyk(70.9%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.89, 20.82, -44.33)
CIE-LCHlch(24.89, 48.98, 295.15°)
OKLaboklab(36.05% 0.0004 -0.1277)
OKLCHoklch(36.05% 0.128 270.2)
XYZxyz(5.8204, 4.3810, 20.6134)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347F #7F7025
analogous
#25617F #25347F #43257F
triadic
#25347F #7F2534 #347F25
tetradic
#25347F #7F2561 #7F7025 #257F43
square
#25347F #7F2561 #7F7025 #257F43
split-complementary
#25347F #7F4325 #617F25
monochromatic
#090D20 #172150 #25347F #3347AE #5266CD

Accessibility & contrast

On white

11.19
#25347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#25347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347F#FFFFFF#000000##FFFFFF
##25347F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25347f;
/* rgb */ color: rgb(37, 52, 127);
/* oklch */ color: oklch(36.1% 0.128 270.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ba5',
    500: '#25347f',
    950: '#000000',
  },
}
SCSS
$custom: #25347f;
$custom-light: #6c6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#25347f",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 230,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36051,
    "c": 0.12768,
    "h": 270.2
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#25347F
secondary
#B1A04F
accent
#C54ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25347F

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

Preview Lab → · Contrast checker → · Palette generator →

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