#25236A#25236A

#25236A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.8% C 0.120 H 277.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#25236A
RGBrgb(37, 35, 106)
HSLhsl(242, 50%, 28%)
HSVhsv(242, 67%, 42%)
CMYKcmyk(65.1%, 67%, 0%, 58.4%)
CIE-LABlab(18.52, 24.60, -41.26)
CIE-LCHlch(18.52, 48.04, 300.81°)
OKLaboklab(30.78% 0.0166 -0.1188)
OKLCHoklch(30.78% 0.12 277.9)
XYZxyz(3.9647, 2.6357, 13.9327)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25236A #686A23
analogous
#23456A #25236A #48236A
triadic
#25236A #6A2523 #236A25
tetradic
#25236A #6A2345 #686A23 #236A48
square
#25236A #6A2345 #686A23 #236A48
split-complementary
#25236A #6A4823 #456A23
monochromatic
#080817 #15143C #25236A #353298 #4946C2

Accessibility & contrast

On white

13.75
#25236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#25236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25236A
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25236A#FFFFFF#000000##FFFFFF
##25236A1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25236a;
/* rgb */ color: rgb(37, 35, 106);
/* oklch */ color: oklch(30.8% 0.120 277.9);
Tailwind
colors: {
  custom: {
    50: '#685e95',
    500: '#25236a',
    950: '#000000',
  },
}
SCSS
$custom: #25236a;
$custom-light: #685e95;
$custom-dark: #000000;
JSON
{
  "hex": "#25236a",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 241.69,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30776,
    "c": 0.11997,
    "h": 277.9
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#25236A
secondary
#9B9D4B
accent
#DA4ED6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25236A

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

Preview Lab → · Contrast checker → · Palette generator →

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