#2530C4#2530C4

#2530C4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.223 H 269.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2530C4
RGBrgb(37, 48, 196)
HSLhsl(236, 68%, 46%)
HSVhsv(236, 81%, 77%)
CMYKcmyk(81.1%, 75.5%, 0%, 23.1%)
CIE-LABlab(30.62, 48.34, -76.79)
CIE-LCHlch(30.62, 90.75, 302.19°)
OKLaboklab(42.22% -0.0032 -0.2225)
OKLCHoklch(42.22% 0.223 269.2)
XYZxyz(11.7803, 6.4914, 52.8459)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530C4 #C4B925
analogous
#257FC4 #2530C4 #6925C4
triadic
#2530C4 #C42530 #30C425
tetradic
#2530C4 #C4257F #C4B925 #25C469
square
#2530C4 #C4257F #C4B925 #25C469
split-complementary
#2530C4 #C46925 #7FC425
monochromatic
#12175D #1B2391 #2530C4 #4954DD #7D84E6

Accessibility & contrast

On white

9.14
#2530C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2530C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530C4
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530C4#FFFFFF#000000##FFFFFF
##2530C41.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2530c4;
/* rgb */ color: rgb(37, 48, 196);
/* oklch */ color: oklch(42.2% 0.223 269.2);
Tailwind
colors: {
  custom: {
    50: '#7d6ad7',
    500: '#2530c4',
    950: '#000000',
  },
}
SCSS
$custom: #2530c4;
$custom-light: #7d6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2530c4",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 235.849,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.22252,
    "h": 269.2
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#2530C4
secondary
#CFC976
accent
#DF3DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2530C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2530C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva