#2534A3#2534A3

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

Color values

HEX#2534A3
RGBrgb(37, 52, 163)
HSLhsl(233, 63%, 39%)
HSVhsv(233, 77%, 64%)
CMYKcmyk(77.3%, 68.1%, 0%, 36.1%)
CIE-LABlab(28.09, 34.40, -61.30)
CIE-LCHlch(28.09, 70.30, 299.30°)
OKLaboklab(39.4% -0.0008 -0.1774)
OKLCHoklch(39.4% 0.177 269.7)
XYZxyz(8.5995, 5.4927, 35.2502)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A3 #A39425
analogous
#2573A3 #2534A3 #5525A3
triadic
#2534A3 #A32534 #34A325
tetradic
#2534A3 #A32573 #A39425 #25A355
square
#2534A3 #A32573 #A39425 #25A355
split-complementary
#2534A3 #A35525 #73A325
monochromatic
#0E143F #1A2471 #2534A3 #3447D1 #6674DC

Accessibility & contrast

On white

10.01
#2534A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2534A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534A3
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A3#FFFFFF#000000##FFFFFF
##2534A31.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2534a3;
/* rgb */ color: rgb(37, 52, 163);
/* oklch */ color: oklch(39.4% 0.177 269.7);
Tailwind
colors: {
  custom: {
    50: '#756bbf',
    500: '#2534a3',
    950: '#000000',
  },
}
SCSS
$custom: #2534a3;
$custom-light: #756bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a3",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 232.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39399,
    "c": 0.17742,
    "h": 269.7
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2534A3

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

Preview Lab → · Contrast checker → · Palette generator →

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