#2530A2#2530A2

#2530A2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.181 H 270.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2530A2
RGBrgb(37, 48, 162)
HSLhsl(235, 63%, 39%)
HSVhsv(235, 77%, 64%)
CMYKcmyk(77.2%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.06, 36.58, -62.40)
CIE-LCHlch(27.06, 72.33, 300.38°)
OKLaboklab(38.62% 0.0014 -0.1806)
OKLCHoklch(38.62% 0.181 270.5)
XYZxyz(8.3393, 5.1149, 34.7232)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530A2 #A29725
analogous
#256FA2 #2530A2 #5925A2
triadic
#2530A2 #A22530 #30A225
tetradic
#2530A2 #A2256F #A29725 #25A259
square
#2530A2 #A2256F #A29725 #25A259
split-complementary
#2530A2 #A25925 #6FA225
monochromatic
#0E123E #1A2170 #2530A2 #3441D1 #6570DC

Accessibility & contrast

On white

10.38
#2530A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2530A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530A2
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530A2#FFFFFF#000000##FFFFFF
##2530A21.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2530a2;
/* rgb */ color: rgb(37, 48, 162);
/* oklch */ color: oklch(38.6% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#7569bf',
    500: '#2530a2',
    950: '#000000',
  },
}
SCSS
$custom: #2530a2;
$custom-light: #7569bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2530a2",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 234.72,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38619,
    "c": 0.18064,
    "h": 270.5
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2530A2

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

Preview Lab → · Contrast checker → · Palette generator →

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