#25368C#25368C

#25368C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.144 H 269.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#25368C
RGBrgb(37, 54, 140)
HSLhsl(230, 58%, 35%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(73.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.52, 24.44, -49.81)
CIE-LCHlch(26.52, 55.48, 296.14°)
OKLaboklab(37.6% -0.0011 -0.1437)
OKLCHoklch(37.6% 0.144 269.6)
XYZxyz(6.8141, 4.9244, 25.3972)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368C #8C7B25
analogous
#256A8C #25368C #48258C
triadic
#25368C #8C2536 #368C25
tetradic
#25368C #8C256A #8C7B25 #258C48
square
#25368C #8C256A #8C7B25 #258C48
split-complementary
#25368C #8C4825 #6A8C25
monochromatic
#0B112B #18235C #25368C #3249BC #586DD3

Accessibility & contrast

On white

10.58
#25368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#25368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25368C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368C#FFFFFF#000000##FFFFFF
##25368C1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25368c;
/* rgb */ color: rgb(37, 54, 140);
/* oklch */ color: oklch(37.6% 0.144 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f6cae',
    500: '#25368c',
    950: '#000000',
  },
}
SCSS
$custom: #25368c;
$custom-light: #6f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#25368c",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 230.097,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.376,
    "c": 0.14373,
    "h": 269.6
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#25368C
secondary
#B8A755
accent
#C846E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25368C

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

Preview Lab → · Contrast checker → · Palette generator →

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