#25368D#25368D

#25368D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.145 H 269.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#25368D
RGBrgb(37, 54, 141)
HSLhsl(230, 58%, 35%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(73.8%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.60, 24.83, -50.29)
CIE-LCHlch(26.60, 56.08, 296.28°)
OKLaboklab(37.69% -0.0011 -0.1451)
OKLCHoklch(37.69% 0.145 269.6)
XYZxyz(6.8882, 4.9540, 25.7873)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368D #8D7C25
analogous
#256A8D #25368D #48258D
triadic
#25368D #8D2536 #368D25
tetradic
#25368D #8D256A #8D7C25 #258D48
square
#25368D #8D256A #8D7C25 #258D48
split-complementary
#25368D #8D4825 #6A8D25
monochromatic
#0C112C #18235D #25368D #3249BD #596DD3

Accessibility & contrast

On white

10.55
#25368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25368D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368D#FFFFFF#000000##FFFFFF
##25368D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25368d;
/* rgb */ color: rgb(37, 54, 141);
/* oklch */ color: oklch(37.7% 0.145 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f6caf',
    500: '#25368d',
    950: '#000000',
  },
}
SCSS
$custom: #25368d;
$custom-light: #6f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#25368d",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 230.192,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.14514,
    "h": 269.6
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#25368D
secondary
#B8A856
accent
#C846E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25368D

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

Preview Lab → · Contrast checker → · Palette generator →

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