#252A95#252A95

#252A95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.170 H 272.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#252A95
RGBrgb(37, 42, 149)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(75.2%, 71.8%, 0%, 41.6%)
CIE-LABlab(24.38, 35.67, -58.87)
CIE-LCHlch(24.38, 68.83, 301.21°)
OKLaboklab(36.29% 0.0063 -0.1703)
OKLCHoklch(36.29% 0.17 272.1)
XYZxyz(7.0139, 4.2184, 28.8725)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A95 #959025
analogous
#256295 #252A95 #582595
triadic
#252A95 #95252A #2A9525
tetradic
#252A95 #952562 #959025 #259558
square
#252A95 #952562 #959025 #259558
split-complementary
#252A95 #955825 #629525
monochromatic
#0D0E33 #191C64 #252A95 #3138C6 #5E63D7

Accessibility & contrast

On white

11.39
#252A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A95
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A95#FFFFFF#000000##FFFFFF
##252A951.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252a95;
/* rgb */ color: rgb(37, 42, 149);
/* oklch */ color: oklch(36.3% 0.170 272.1);
Tailwind
colors: {
  custom: {
    50: '#7264b5',
    500: '#252a95',
    950: '#000000',
  },
}
SCSS
$custom: #252a95;
$custom-light: #7264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252a95",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 237.321,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36294,
    "c": 0.17045,
    "h": 272.1
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#252A95
secondary
#BCB75A
accent
#DC44E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A95

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

Preview Lab → · Contrast checker → · Palette generator →

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