#25338C#25338C

#25338C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.148 H 270.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#25338C
RGBrgb(37, 51, 140)
HSLhsl(232, 58%, 35%)
HSVhsv(232, 74%, 55%)
CMYKcmyk(73.6%, 63.6%, 0%, 45.1%)
CIE-LABlab(25.72, 26.48, -51.10)
CIE-LCHlch(25.72, 57.56, 297.39°)
OKLaboklab(37.01% 0.0012 -0.1476)
OKLCHoklch(37.01% 0.148 270.5)
XYZxyz(6.6788, 4.6537, 25.3521)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25338C #8C7E25
analogous
#25668C #25338C #4B258C
triadic
#25338C #8C2533 #338C25
tetradic
#25338C #8C2566 #8C7E25 #258C4B
square
#25338C #8C2566 #8C7E25 #258C4B
split-complementary
#25338C #8C4B25 #668C25
monochromatic
#0B102B #18215C #25338C #3245BC #5869D3

Accessibility & contrast

On white

10.88
#25338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#25338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25338C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25338C#FFFFFF#000000##FFFFFF
##25338C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25338c;
/* rgb */ color: rgb(37, 51, 140);
/* oklch */ color: oklch(37.0% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f6aae',
    500: '#25338c',
    950: '#000000',
  },
}
SCSS
$custom: #25338c;
$custom-light: #6f6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#25338c",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 231.845,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37012,
    "c": 0.14756,
    "h": 270.5
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#25338C
secondary
#B8AA55
accent
#CC46E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25338C

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

Preview Lab → · Contrast checker → · Palette generator →

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