#25266E#25266E

#25266E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.122 H 276.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#25266E
RGBrgb(37, 38, 110)
HSLhsl(239, 50%, 29%)
HSVhsv(239, 66%, 43%)
CMYKcmyk(66.4%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.66, 24.04, -42.01)
CIE-LCHlch(19.66, 48.40, 299.78°)
OKLaboklab(31.72% 0.0134 -0.121)
OKLCHoklch(31.72% 0.122 276.3)
XYZxyz(4.2696, 2.9050, 15.0845)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25266E #6E6D25
analogous
#254B6E #25266E #49256E
triadic
#25266E #6E2526 #266E25
tetradic
#25266E #6E254B #6E6D25 #256E49
square
#25266E #6E254B #6E6D25 #256E49
split-complementary
#25266E #6E4925 #4B6E25
monochromatic
#080817 #161640 #25266E #34369C #4B4DC2

Accessibility & contrast

On white

13.28
#25266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25266E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25266E#FFFFFF#000000##FFFFFF
##25266E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25266e;
/* rgb */ color: rgb(37, 38, 110);
/* oklch */ color: oklch(31.7% 0.122 276.3);
Tailwind
colors: {
  custom: {
    50: '#696098',
    500: '#25266e',
    950: '#000000',
  },
}
SCSS
$custom: #25266e;
$custom-light: #696098;
$custom-dark: #000000;
JSON
{
  "hex": "#25266e",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 239.178,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.12172,
    "h": 276.3
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#25266E
secondary
#A1A04E
accent
#D74FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25266E

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

Preview Lab → · Contrast checker → · Palette generator →

#25266E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva