#25348F#25348F

#25348F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.150 H 270.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#25348F
RGBrgb(37, 52, 143)
HSLhsl(232, 59%, 35%)
HSVhsv(232, 74%, 56%)
CMYKcmyk(74.1%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.25, 26.94, -52.10)
CIE-LCHlch(26.25, 58.65, 297.34°)
OKLaboklab(37.48% 0.0004 -0.1505)
OKLCHoklch(37.48% 0.15 270.1)
XYZxyz(6.9472, 4.8318, 26.5478)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25348F #8F8025
analogous
#25698F #25348F #4B258F
triadic
#25348F #8F2534 #348F25
tetradic
#25348F #8F2569 #8F8025 #258F4B
square
#25348F #8F2569 #8F8025 #258F4B
split-complementary
#25348F #8F4B25 #698F25
monochromatic
#0C112E #18225E #25348F #3246C0 #5A6BD4

Accessibility & contrast

On white

10.68
#25348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#25348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25348F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25348F#FFFFFF#000000##FFFFFF
##25348F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25348f;
/* rgb */ color: rgb(37, 52, 143);
/* oklch */ color: oklch(37.5% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#706bb1',
    500: '#25348f',
    950: '#000000',
  },
}
SCSS
$custom: #25348f;
$custom-light: #706bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#25348f",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 231.509,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.15048,
    "h": 270.1
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#25348F
secondary
#B9AB57
accent
#CC46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25348F

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

Preview Lab → · Contrast checker → · Palette generator →

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