#252C95#252C95

#252C95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.168 H 271.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#252C95
RGBrgb(37, 44, 149)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(75.2%, 70.5%, 0%, 41.6%)
CIE-LABlab(24.84, 34.41, -58.11)
CIE-LCHlch(24.84, 67.54, 300.63°)
OKLaboklab(36.62% 0.0052 -0.1681)
OKLCHoklch(36.62% 0.168 271.8)
XYZxyz(7.0866, 4.3639, 28.8968)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C95 #958E25
analogous
#256495 #252C95 #562595
triadic
#252C95 #95252C #2C9525
tetradic
#252C95 #952564 #958E25 #259556
square
#252C95 #952564 #958E25 #259556
split-complementary
#252C95 #955625 #649525
monochromatic
#0D0F33 #191E64 #252C95 #313AC6 #5E65D7

Accessibility & contrast

On white

11.21
#252C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#252C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C95
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C95#FFFFFF#000000##FFFFFF
##252C951.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252c95;
/* rgb */ color: rgb(37, 44, 149);
/* oklch */ color: oklch(36.6% 0.168 271.8);
Tailwind
colors: {
  custom: {
    50: '#7266b5',
    500: '#252c95',
    950: '#000000',
  },
}
SCSS
$custom: #252c95;
$custom-light: #7266b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252c95",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 236.25,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.1682,
    "h": 271.8
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#252C95
secondary
#BCB65A
accent
#D944E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C95

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

Preview Lab → · Contrast checker → · Palette generator →

#252C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva