#2425B1#2425B1

#2425B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.210 H 270.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2425B1
RGBrgb(36, 37, 177)
HSLhsl(240, 66%, 42%)
HSVhsv(240, 80%, 69%)
CMYKcmyk(79.7%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.37, 47.97, -72.59)
CIE-LCHlch(26.37, 87.01, 303.46°)
OKLaboklab(38.59% 0.0024 -0.2102)
OKLCHoklch(38.59% 0.21 270.6)
XYZxyz(9.3222, 4.8715, 42.0354)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2425B1 #B1B024
analogous
#246CB1 #2425B1 #6924B1
triadic
#2425B1 #B12425 #25B124
tetradic
#2425B1 #B1246C #B1B024 #24B169
square
#2425B1 #B1246C #B1B024 #24B169
split-complementary
#2425B1 #B16924 #6CB124
monochromatic
#0F104B #1A1A7E #2425B1 #3B3CD7 #6E6FE1

Accessibility & contrast

On white

10.64
#2425B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2425B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2425B1
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2425B1#FFFFFF#000000##FFFFFF
##2425B11.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0037AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2425b1;
/* rgb */ color: rgb(36, 37, 177);
/* oklch */ color: oklch(38.6% 0.210 270.6);
Tailwind
colors: {
  custom: {
    50: '#7962ca',
    500: '#2425b1',
    950: '#000000',
  },
}
SCSS
$custom: #2425b1;
$custom-light: #7962ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2425b1",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 239.574,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.21019,
    "h": 270.6
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#2425B1
secondary
#C8C769
accent
#E83FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2425B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2425B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva