#2530A0#2530A0

#2530A0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.178 H 270.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2530A0
RGBrgb(37, 48, 160)
HSLhsl(235, 62%, 39%)
HSVhsv(235, 77%, 63%)
CMYKcmyk(76.9%, 70%, 0%, 37.3%)
CIE-LABlab(26.86, 35.85, -61.51)
CIE-LCHlch(26.86, 71.20, 300.24°)
OKLaboklab(38.42% 0.0017 -0.1781)
OKLCHoklch(38.42% 0.178 270.5)
XYZxyz(8.1629, 5.0444, 33.7943)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530A0 #A09525
analogous
#256DA0 #2530A0 #5725A0
triadic
#2530A0 #A02530 #30A025
tetradic
#2530A0 #A0256D #A09525 #25A057
square
#2530A0 #A0256D #A09525 #25A057
split-complementary
#2530A0 #A05725 #6DA025
monochromatic
#0E123D #1A216E #2530A0 #3241D0 #646FDB

Accessibility & contrast

On white

10.45
#2530A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2530A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530A0
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530A0#FFFFFF#000000##FFFFFF
##2530A01.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2530a0;
/* rgb */ color: rgb(37, 48, 160);
/* oklch */ color: oklch(38.4% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#7469bd',
    500: '#2530a0',
    950: '#000000',
  },
}
SCSS
$custom: #2530a0;
$custom-light: #7469bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2530a0",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 234.634,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.17806,
    "h": 270.5
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#2530A0
secondary
#C1B860
accent
#D742E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2530A0

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

Preview Lab → · Contrast checker → · Palette generator →

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