#25236E#25236E

#25236E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.126 H 277.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#25236E
RGBrgb(37, 35, 110)
HSLhsl(242, 52%, 28%)
HSVhsv(242, 68%, 43%)
CMYKcmyk(66.4%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.89, 26.07, -43.26)
CIE-LCHlch(18.89, 50.51, 301.07°)
OKLaboklab(31.16% 0.0162 -0.1247)
OKLCHoklch(31.16% 0.126 277.4)
XYZxyz(4.1775, 2.7208, 15.0539)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25236E #6C6E23
analogous
#23466E #25236E #4A236E
triadic
#25236E #6E2523 #236E25
tetradic
#25236E #6E2346 #6C6E23 #236E4A
square
#25236E #6E2346 #6C6E23 #236E4A
split-complementary
#25236E #6E4A23 #466E23
monochromatic
#080717 #151440 #25236E #35329C #4A47C4

Accessibility & contrast

On white

13.60
#25236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#25236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25236E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25236E#FFFFFF#000000##FFFFFF
##25236E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25236e;
/* rgb */ color: rgb(37, 35, 110);
/* oklch */ color: oklch(31.2% 0.126 277.4);
Tailwind
colors: {
  custom: {
    50: '#695e98',
    500: '#25236e',
    950: '#000000',
  },
}
SCSS
$custom: #25236e;
$custom-light: #695e98;
$custom-dark: #000000;
JSON
{
  "hex": "#25236e",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 241.6,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.12573,
    "h": 277.4
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#25236E
secondary
#9FA14C
accent
#DB4DD7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25236E

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

Preview Lab → · Contrast checker → · Palette generator →

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