#2534A4#2534A4

#2534A4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.179 H 269.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2534A4
RGBrgb(37, 52, 164)
HSLhsl(233, 63%, 39%)
HSVhsv(233, 77%, 64%)
CMYKcmyk(77.4%, 68.3%, 0%, 35.7%)
CIE-LABlab(28.19, 34.77, -61.75)
CIE-LCHlch(28.19, 70.87, 299.38°)
OKLaboklab(39.5% -0.0009 -0.1787)
OKLCHoklch(39.5% 0.179 269.7)
XYZxyz(8.6895, 5.5287, 35.7239)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A4 #A49525
analogous
#2574A4 #2534A4 #5525A4
triadic
#2534A4 #A42534 #34A425
tetradic
#2534A4 #A42574 #A49525 #25A455
square
#2534A4 #A42574 #A49525 #25A455
split-complementary
#2534A4 #A45525 #74A425
monochromatic
#0E1440 #1A2472 #2534A4 #3547D1 #6775DD

Accessibility & contrast

On white

9.97
#2534A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2534A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534A4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A4#FFFFFF#000000##FFFFFF
##2534A41.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2534a4;
/* rgb */ color: rgb(37, 52, 164);
/* oklch */ color: oklch(39.5% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#756bc0',
    500: '#2534a4',
    950: '#000000',
  },
}
SCSS
$custom: #2534a4;
$custom-light: #756bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a4",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 232.913,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.17873,
    "h": 269.7
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#2534A4
secondary
#C2B762
accent
#D342E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2534A4

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

Preview Lab → · Contrast checker → · Palette generator →

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