#25539C#25539C

#25539C is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.129 H 259.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#25539C
RGBrgb(37, 83, 156)
HSLhsl(217, 62%, 38%)
HSVhsv(217, 76%, 61%)
CMYKcmyk(76.3%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.94, 11.00, -44.32)
CIE-LCHlch(35.94, 45.67, 283.94°)
OKLaboklab(45.12% -0.0238 -0.1271)
OKLCHoklch(45.12% 0.129 259.4)
XYZxyz(9.8548, 8.9790, 32.6598)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25539C #9C6E25
analogous
#258E9C #25539C #33259C
triadic
#25539C #9C2553 #539C25
tetradic
#25539C #9C258E #9C6E25 #259C33
square
#25539C #9C258E #9C6E25 #259C33
split-complementary
#25539C #9C3325 #8E9C25
monochromatic
#0E1E39 #19396B #25539C #316DCD #6290DA

Accessibility & contrast

On white

7.51
#25539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#25539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25539C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25539C#FFFFFF#000000##FFFFFF
##25539C1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9F
Deuteranopia (green-blind)
#114F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #25539c;
/* rgb */ color: rgb(37, 83, 156);
/* oklch */ color: oklch(45.1% 0.129 259.4);
Tailwind
colors: {
  custom: {
    50: '#7182ba',
    500: '#25539c',
    950: '#000000',
  },
}
SCSS
$custom: #25539c;
$custom-light: #7182ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25539c",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 216.807,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.12932,
    "h": 259.4
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#25539C
secondary
#BF995E
accent
#A643E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25539C

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

Preview Lab → · Contrast checker → · Palette generator →

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