#25366C#25366C

#25366C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.096 H 268.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#25366C
RGBrgb(37, 54, 108)
HSLhsl(226, 49%, 28%)
HSVhsv(226, 66%, 42%)
CMYKcmyk(65.7%, 50%, 0%, 57.6%)
CIE-LABlab(24.04, 12.06, -33.62)
CIE-LCHlch(24.04, 35.72, 289.73°)
OKLaboklab(34.96% -0.0033 -0.0961)
OKLCHoklch(34.96% 0.096 268)
XYZxyz(4.7880, 4.1139, 14.7262)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25366C #6C5B25
analogous
#25596C #25366C #37256C
triadic
#25366C #6C2536 #366C25
tetradic
#25366C #6C2559 #6C5B25 #256C37
square
#25366C #6C2559 #6C5B25 #256C37
split-complementary
#25366C #6C3725 #596C25
monochromatic
#080B17 #151F3E #25366C #354D9A #4A67C1

Accessibility & contrast

On white

11.52
#25366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25366C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25366C#FFFFFF#000000##FFFFFF
##25366C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#0E366B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25366c;
/* rgb */ color: rgb(37, 54, 108);
/* oklch */ color: oklch(35.0% 0.096 268.0);
Tailwind
colors: {
  custom: {
    50: '#676c96',
    500: '#25366c',
    950: '#000000',
  },
}
SCSS
$custom: #25366c;
$custom-light: #676c96;
$custom-dark: #000000;
JSON
{
  "hex": "#25366c",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 225.634,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.09619,
    "h": 268
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#25366C
secondary
#9F8C4E
accent
#B84FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #25366C

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

Preview Lab → · Contrast checker → · Palette generator →

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