#2534A2#2534A2

#2534A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.176 H 269.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2534A2
RGBrgb(37, 52, 162)
HSLhsl(233, 63%, 39%)
HSVhsv(233, 77%, 64%)
CMYKcmyk(77.2%, 67.9%, 0%, 36.5%)
CIE-LABlab(28.00, 34.04, -60.86)
CIE-LCHlch(28.00, 69.73, 299.22°)
OKLaboklab(39.3% -0.0007 -0.1761)
OKLCHoklch(39.3% 0.176 269.8)
XYZxyz(8.5103, 5.4570, 34.7802)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A2 #A29325
analogous
#2573A2 #2534A2 #5525A2
triadic
#2534A2 #A22534 #34A225
tetradic
#2534A2 #A22573 #A29325 #25A255
square
#2534A2 #A22573 #A29325 #25A255
split-complementary
#2534A2 #A25525 #73A225
monochromatic
#0E143E #1A2470 #2534A2 #3446D1 #6574DC

Accessibility & contrast

On white

10.04
#2534A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2534A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534A2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A2#FFFFFF#000000##FFFFFF
##2534A21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2534a2;
/* rgb */ color: rgb(37, 52, 162);
/* oklch */ color: oklch(39.3% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#746bbf',
    500: '#2534a2',
    950: '#000000',
  },
}
SCSS
$custom: #2534a2;
$custom-light: #746bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a2",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 232.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.393,
    "c": 0.17611,
    "h": 269.8
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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