#2530DC#2530DC

#2530DC is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.250 H 268.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2530DC
RGBrgb(37, 48, 220)
HSLhsl(236, 72%, 50%)
HSVhsv(236, 83%, 86%)
CMYKcmyk(83.2%, 78.2%, 0%, 13.7%)
CIE-LABlab(33.29, 56.13, -86.30)
CIE-LCHlch(33.29, 102.95, 303.04°)
OKLaboklab(44.89% -0.0069 -0.25)
OKLCHoklch(44.89% 0.25 268.4)
XYZxyz(14.7337, 7.6727, 68.4007)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530DC #DCD125
analogous
#258CDC #2530DC #7525DC
triadic
#2530DC #DC2530 #30DC25
tetradic
#2530DC #DC258C #DCD125 #25DC75
square
#2530DC #DC258C #DCD125 #25DC75
split-complementary
#2530DC #DC7525 #8CDC25
monochromatic
#131874 #1B24A9 #2530DC #5A62E4 #8E94ED

Accessibility & contrast

On white

8.28
#2530DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2530DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530DC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530DC#FFFFFF#000000##FFFFFF
##2530DC1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057E1
Deuteranopia (green-blind)
#0045D9
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2530dc;
/* rgb */ color: rgb(37, 48, 220);
/* oklch */ color: oklch(44.9% 0.250 268.4);
Tailwind
colors: {
  custom: {
    50: '#836be8',
    500: '#2530dc',
    950: '#000000',
  },
}
SCSS
$custom: #2530dc;
$custom-light: #836be8;
$custom-dark: #000000;
JSON
{
  "hex": "#2530dc",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 220
  },
  "hsl": {
    "h": 236.393,
    "s": 72.332,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.25015,
    "h": 268.4
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#2530DC
secondary
#D7D286
accent
#E439EF
background
#F9F6FE
surface
#F1EBFD
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2530DC

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

Preview Lab → · Contrast checker → · Palette generator →

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