#2530A8#2530A8

#2530A8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.188 H 270.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2530A8
RGBrgb(37, 48, 168)
HSLhsl(235, 64%, 40%)
HSVhsv(235, 78%, 66%)
CMYKcmyk(78%, 71.4%, 0%, 34.1%)
CIE-LABlab(27.66, 38.72, -65.03)
CIE-LCHlch(27.66, 75.68, 300.77°)
OKLaboklab(39.24% 0.0007 -0.1883)
OKLCHoklch(39.24% 0.188 270.2)
XYZxyz(8.8854, 5.3334, 37.5994)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530A8 #A89D25
analogous
#2571A8 #2530A8 #5C25A8
triadic
#2530A8 #A82530 #30A825
tetradic
#2530A8 #A82571 #A89D25 #25A85C
square
#2530A8 #A82571 #A89D25 #25A85C
split-complementary
#2530A8 #A85C25 #71A825
monochromatic
#0F1344 #1A2276 #2530A8 #3744D3 #6973DE

Accessibility & contrast

On white

10.16
#2530A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2530A8
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530A8#FFFFFF#000000##FFFFFF
##2530A81.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2530a8;
/* rgb */ color: rgb(37, 48, 168);
/* oklch */ color: oklch(39.2% 0.188 270.2);
Tailwind
colors: {
  custom: {
    50: '#7669c3',
    500: '#2530a8',
    950: '#000000',
  },
}
SCSS
$custom: #2530a8;
$custom-light: #7669c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2530a8",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 234.962,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.1883,
    "h": 270.2
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2530A8

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

Preview Lab → · Contrast checker → · Palette generator →

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