#25236B#25236B

#25236B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.121 H 277.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#25236B
RGBrgb(37, 35, 107)
HSLhsl(242, 51%, 28%)
HSVhsv(242, 67%, 42%)
CMYKcmyk(65.4%, 67.3%, 0%, 58%)
CIE-LABlab(18.61, 24.97, -41.77)
CIE-LCHlch(18.61, 48.66, 300.87°)
OKLaboklab(30.87% 0.0165 -0.1203)
OKLCHoklch(30.87% 0.121 277.8)
XYZxyz(4.0170, 2.6566, 14.2082)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25236B #696B23
analogous
#23456B #25236B #49236B
triadic
#25236B #6B2523 #236B25
tetradic
#25236B #6B2345 #696B23 #236B49
square
#25236B #6B2345 #696B23 #236B49
split-complementary
#25236B #6B4923 #456B23
monochromatic
#080817 #15143D #25236B #353299 #4946C2

Accessibility & contrast

On white

13.71
#25236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25236B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25236B#FFFFFF#000000##FFFFFF
##25236B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25236b;
/* rgb */ color: rgb(37, 35, 107);
/* oklch */ color: oklch(30.9% 0.121 277.8);
Tailwind
colors: {
  custom: {
    50: '#695e96',
    500: '#25236b',
    950: '#000000',
  },
}
SCSS
$custom: #25236b;
$custom-light: #695e96;
$custom-dark: #000000;
JSON
{
  "hex": "#25236b",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 241.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.12142,
    "h": 277.8
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25236B

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

Preview Lab → · Contrast checker → · Palette generator →

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