#25307F#25307F

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

Color values

HEX#25307F
RGBrgb(37, 48, 127)
HSLhsl(233, 55%, 32%)
HSVhsv(233, 71%, 50%)
CMYKcmyk(70.9%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.80, 23.58, -46.11)
CIE-LCHlch(23.80, 51.79, 297.08°)
OKLaboklab(35.24% 0.0039 -0.133)
OKLCHoklch(35.24% 0.133 271.7)
XYZxyz(5.6494, 4.0390, 20.5564)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307F #7F7425
analogous
#255D7F #25307F #47257F
triadic
#25307F #7F2530 #307F25
tetradic
#25307F #7F255D #7F7425 #257F47
square
#25307F #7F255D #7F7425 #257F47
split-complementary
#25307F #7F4725 #5D7F25
monochromatic
#090C20 #171E50 #25307F #3342AE #5261CD

Accessibility & contrast

On white

11.62
#25307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#25307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307F#FFFFFF#000000##FFFFFF
##25307F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25307f;
/* rgb */ color: rgb(37, 48, 127);
/* oklch */ color: oklch(35.2% 0.133 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c68a5',
    500: '#25307f',
    950: '#000000',
  },
}
SCSS
$custom: #25307f;
$custom-light: #6c68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25307f",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 232.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35237,
    "c": 0.13302,
    "h": 271.7
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25307F

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

Preview Lab → · Contrast checker → · Palette generator →

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