#25339C#25339C

#25339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.169 H 270.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#25339C
RGBrgb(37, 51, 156)
HSLhsl(233, 62%, 38%)
HSVhsv(233, 76%, 61%)
CMYKcmyk(76.3%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.19, 32.47, -58.54)
CIE-LCHlch(27.19, 66.95, 299.02°)
OKLaboklab(38.54% 0.0003 -0.1694)
OKLCHoklch(38.54% 0.169 270.1)
XYZxyz(7.9455, 5.1604, 32.0234)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25339C #9C8E25
analogous
#256E9C #25339C #52259C
triadic
#25339C #9C2533 #339C25
tetradic
#25339C #9C256E #9C8E25 #259C52
square
#25339C #9C256E #9C8E25 #259C52
split-complementary
#25339C #9C5225 #6E9C25
monochromatic
#0E1339 #19236B #25339C #3143CD #6270DA

Accessibility & contrast

On white

10.33
#25339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#25339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25339C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25339C#FFFFFF#000000##FFFFFF
##25339C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25339c;
/* rgb */ color: rgb(37, 51, 156);
/* oklch */ color: oklch(38.5% 0.169 270.1);
Tailwind
colors: {
  custom: {
    50: '#736bba',
    500: '#25339c',
    950: '#000000',
  },
}
SCSS
$custom: #25339c;
$custom-light: #736bba;
$custom-dark: #000000;
JSON
{
  "hex": "#25339c",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 232.941,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.16936,
    "h": 270.1
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#25339C
secondary
#BFB45E
accent
#D243E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25339C

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

Preview Lab → · Contrast checker → · Palette generator →

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