#25307E#25307E

#25307E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.132 H 271.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#25307E
RGBrgb(37, 48, 126)
HSLhsl(233, 55%, 32%)
HSVhsv(233, 71%, 49%)
CMYKcmyk(70.6%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.71, 23.20, -45.62)
CIE-LCHlch(23.71, 51.18, 296.95°)
OKLaboklab(35.15% 0.0039 -0.1315)
OKLCHoklch(35.15% 0.132 271.7)
XYZxyz(5.5845, 4.0130, 20.2149)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307E #7E7325
analogous
#255D7E #25307E #47257E
triadic
#25307E #7E2530 #307E25
tetradic
#25307E #7E255D #7E7325 #257E47
square
#25307E #7E255D #7E7325 #257E47
split-complementary
#25307E #7E4725 #5D7E25
monochromatic
#090C1F #171E4F #25307E #3342AD #5161CC

Accessibility & contrast

On white

11.65
#25307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307E#FFFFFF#000000##FFFFFF
##25307E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25307e;
/* rgb */ color: rgb(37, 48, 126);
/* oklch */ color: oklch(35.1% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c68a4',
    500: '#25307e',
    950: '#000000',
  },
}
SCSS
$custom: #25307e;
$custom-light: #6c68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25307e",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 232.584,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35147,
    "c": 0.13157,
    "h": 271.7
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#25307E
secondary
#B0A44F
accent
#CC4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25307E

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

Preview Lab → · Contrast checker → · Palette generator →

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