#25368A#25368A

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

Color values

HEX#25368A
RGBrgb(37, 54, 138)
HSLhsl(230, 58%, 34%)
HSVhsv(230, 73%, 54%)
CMYKcmyk(73.2%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.35, 23.68, -48.84)
CIE-LCHlch(26.35, 54.28, 295.86°)
OKLaboklab(37.42% -0.0011 -0.1409)
OKLCHoklch(37.42% 0.141 269.6)
XYZxyz(6.6680, 4.8659, 24.6276)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368A #8A7925
analogous
#25698A #25368A #47258A
triadic
#25368A #8A2536 #368A25
tetradic
#25368A #8A2569 #8A7925 #258A47
square
#25368A #8A2569 #8A7925 #258A47
split-complementary
#25368A #8A4725 #698A25
monochromatic
#0B1029 #18235A #25368A #3249BA #576CD2

Accessibility & contrast

On white

10.64
#25368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#25368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25368A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368A#FFFFFF#000000##FFFFFF
##25368A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25368a;
/* rgb */ color: rgb(37, 54, 138);
/* oklch */ color: oklch(37.4% 0.141 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e6cad',
    500: '#25368a',
    950: '#000000',
  },
}
SCSS
$custom: #25368a;
$custom-light: #6e6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#25368a",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 229.901,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.14089,
    "h": 269.6
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#25368A
secondary
#B7A654
accent
#C747E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25368A

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

Preview Lab → · Contrast checker → · Palette generator →

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