#2530A9#2530A9

#2530A9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.190 H 270.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2530A9
RGBrgb(37, 48, 169)
HSLhsl(235, 64%, 40%)
HSVhsv(235, 78%, 66%)
CMYKcmyk(78.1%, 71.6%, 0%, 33.7%)
CIE-LABlab(27.77, 39.07, -65.47)
CIE-LCHlch(27.77, 76.24, 300.83°)
OKLaboklab(39.34% 0.0006 -0.1896)
OKLCHoklch(39.34% 0.19 270.2)
XYZxyz(8.9789, 5.3708, 38.0919)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530A9 #A99E25
analogous
#2572A9 #2530A9 #5C25A9
triadic
#2530A9 #A92530 #30A925
tetradic
#2530A9 #A92572 #A99E25 #25A95C
square
#2530A9 #A92572 #A99E25 #25A95C
split-complementary
#2530A9 #A95C25 #72A925
monochromatic
#0F1345 #1A2277 #2530A9 #3845D3 #6A74DE

Accessibility & contrast

On white

10.12
#2530A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2530A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530A9
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530A9#FFFFFF#000000##FFFFFF
##2530A91.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2530a9;
/* rgb */ color: rgb(37, 48, 169);
/* oklch */ color: oklch(39.3% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#7769c4',
    500: '#2530a9',
    950: '#000000',
  },
}
SCSS
$custom: #2530a9;
$custom-light: #7769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2530a9",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 235,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.18957,
    "h": 270.2
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#2530A9
secondary
#C4BD65
accent
#D941E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2530A9

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

Preview Lab → · Contrast checker → · Palette generator →

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