#2530B1#2530B1

#2530B1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.200 H 269.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2530B1
RGBrgb(37, 48, 177)
HSLhsl(235, 65%, 42%)
HSVhsv(235, 79%, 69%)
CMYKcmyk(79.1%, 72.9%, 0%, 30.6%)
CIE-LABlab(28.59, 41.88, -68.90)
CIE-LCHlch(28.59, 80.63, 301.29°)
OKLaboklab(40.18% -0.0004 -0.1996)
OKLCHoklch(40.18% 0.2 269.9)
XYZxyz(9.7530, 5.6804, 42.1689)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530B1 #B1A625
analogous
#2576B1 #2530B1 #6025B1
triadic
#2530B1 #B12530 #30B125
tetradic
#2530B1 #B12576 #B1A625 #25B160
square
#2530B1 #B12576 #B1A625 #25B160
split-complementary
#2530B1 #B16025 #76B125
monochromatic
#10154C #1A227E #2530B1 #3D49D6 #6F78E1

Accessibility & contrast

On white

9.83
#2530B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2530B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530B1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530B1#FFFFFF#000000##FFFFFF
##2530B11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2530b1;
/* rgb */ color: rgb(37, 48, 177);
/* oklch */ color: oklch(40.2% 0.200 269.9);
Tailwind
colors: {
  custom: {
    50: '#7969ca',
    500: '#2530b1',
    950: '#000000',
  },
}
SCSS
$custom: #2530b1;
$custom-light: #7969ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2530b1",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 235.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.19957,
    "h": 269.9
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#2530B1
secondary
#C8C06A
accent
#DB3FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2530B1

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

Preview Lab → · Contrast checker → · Palette generator →

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