#2530A5#2530A5

#2530A5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.184 H 270.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2530A5
RGBrgb(37, 48, 165)
HSLhsl(235, 63%, 40%)
HSVhsv(235, 78%, 65%)
CMYKcmyk(77.6%, 70.9%, 0%, 35.3%)
CIE-LABlab(27.36, 37.65, -63.72)
CIE-LCHlch(27.36, 74.01, 300.58°)
OKLaboklab(38.93% 0.0011 -0.1845)
OKLCHoklch(38.93% 0.184 270.3)
XYZxyz(8.6091, 5.2229, 36.1444)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530A5 #A59A25
analogous
#2570A5 #2530A5 #5A25A5
triadic
#2530A5 #A52530 #30A525
tetradic
#2530A5 #A52570 #A59A25 #25A55A
square
#2530A5 #A52570 #A59A25 #25A55A
split-complementary
#2530A5 #A55A25 #70A525
monochromatic
#0F1341 #1A2173 #2530A5 #3543D2 #6772DD

Accessibility & contrast

On white

10.27
#2530A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2530A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530A5
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530A5#FFFFFF#000000##FFFFFF
##2530A51.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2530a5;
/* rgb */ color: rgb(37, 48, 165);
/* oklch */ color: oklch(38.9% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#7669c1',
    500: '#2530a5',
    950: '#000000',
  },
}
SCSS
$custom: #2530a5;
$custom-light: #7669c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2530a5",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 234.844,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.18448,
    "h": 270.3
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#2530A5
secondary
#C3BB63
accent
#D841E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2530A5

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

Preview Lab → · Contrast checker → · Palette generator →

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