#2530C6#2530C6

#2530C6 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.225 H 269.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2530C6
RGBrgb(37, 48, 198)
HSLhsl(236, 69%, 46%)
HSVhsv(236, 81%, 78%)
CMYKcmyk(81.3%, 75.8%, 0%, 22.4%)
CIE-LABlab(30.84, 49.01, -77.61)
CIE-LCHlch(30.84, 91.79, 302.27°)
OKLaboklab(42.44% -0.0035 -0.2248)
OKLCHoklch(42.44% 0.225 269.1)
XYZxyz(12.0094, 6.5830, 54.0528)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530C6 #C6BB25
analogous
#2580C6 #2530C6 #6A25C6
triadic
#2530C6 #C62530 #30C625
tetradic
#2530C6 #C62580 #C6BB25 #25C66A
square
#2530C6 #C62580 #C6BB25 #25C66A
split-complementary
#2530C6 #C66A25 #80C625
monochromatic
#12175F #1B2392 #2530C6 #4B55DD #7E86E7

Accessibility & contrast

On white

9.06
#2530C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2530C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530C6
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530C6#FFFFFF#000000##FFFFFF
##2530C61.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CA
Deuteranopia (green-blind)
#0040C3
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2530c6;
/* rgb */ color: rgb(37, 48, 198);
/* oklch */ color: oklch(42.4% 0.225 269.1);
Tailwind
colors: {
  custom: {
    50: '#7e6ad9',
    500: '#2530c6',
    950: '#000000',
  },
}
SCSS
$custom: #2530c6;
$custom-light: #7e6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2530c6",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 235.901,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.22488,
    "h": 269.1
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#2530C6
secondary
#CFC977
accent
#DF3CEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2530C6

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

Preview Lab → · Contrast checker → · Palette generator →

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