#2534C6#2534C6

#2534C6 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.221 H 268.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2534C6
RGBrgb(37, 52, 198)
HSLhsl(234, 69%, 46%)
HSVhsv(234, 81%, 78%)
CMYKcmyk(81.3%, 73.7%, 0%, 22.4%)
CIE-LABlab(31.64, 46.76, -76.29)
CIE-LCHlch(31.64, 89.48, 301.50°)
OKLaboklab(43.01% -0.0047 -0.2211)
OKLCHoklch(43.01% 0.221 268.8)
XYZxyz(12.1805, 6.9251, 54.1098)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534C6 #C6B725
analogous
#2584C6 #2534C6 #6625C6
triadic
#2534C6 #C62534 #34C625
tetradic
#2534C6 #C62584 #C6B725 #25C666
square
#2534C6 #C62584 #C6B725 #25C666
split-complementary
#2534C6 #C66625 #84C625
monochromatic
#12195F #1B2692 #2534C6 #4B59DD #7E88E7

Accessibility & contrast

On white

8.80
#2534C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2534C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534C6
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534C6#FFFFFF#000000##FFFFFF
##2534C61.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0042C3
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2534c6;
/* rgb */ color: rgb(37, 52, 198);
/* oklch */ color: oklch(43.0% 0.221 268.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dd9',
    500: '#2534c6',
    950: '#000000',
  },
}
SCSS
$custom: #2534c6;
$custom-light: #7e6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2534c6",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 234.41,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.22111,
    "h": 268.8
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#2534C6
secondary
#CFC777
accent
#DB3CEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2534C6

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

Preview Lab → · Contrast checker → · Palette generator →

#2534C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva