#2530AE#2530AE

#2530AE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.196 H 270.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2530AE
RGBrgb(37, 48, 174)
HSLhsl(235, 65%, 41%)
HSVhsv(235, 79%, 68%)
CMYKcmyk(78.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.28, 40.83, -67.62)
CIE-LCHlch(28.28, 78.99, 301.13°)
OKLaboklab(39.86% 0 -0.1958)
OKLCHoklch(39.86% 0.196 270)
XYZxyz(9.4573, 5.5621, 40.6114)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530AE #AEA325
analogous
#2575AE #2530AE #5E25AE
triadic
#2530AE #AE2530 #30AE25
tetradic
#2530AE #AE2575 #AEA325 #25AE5E
square
#2530AE #AE2575 #AEA325 #25AE5E
split-complementary
#2530AE #AE5E25 #75AE25
monochromatic
#101449 #1A227C #2530AE #3B47D5 #6D77E0

Accessibility & contrast

On white

9.94
#2530AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2530AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530AE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530AE#FFFFFF#000000##FFFFFF
##2530AE1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2530ae;
/* rgb */ color: rgb(37, 48, 174);
/* oklch */ color: oklch(39.9% 0.196 270.0);
Tailwind
colors: {
  custom: {
    50: '#7869c7',
    500: '#2530ae',
    950: '#000000',
  },
}
SCSS
$custom: #2530ae;
$custom-light: #7869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2530ae",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 235.182,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.19584,
    "h": 270
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#2530AE
secondary
#C6BF68
accent
#DA40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2530AE

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

Preview Lab → · Contrast checker → · Palette generator →

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