#2534A5#2534A5

#2534A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.180 H 269.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2534A5
RGBrgb(37, 52, 165)
HSLhsl(233, 63%, 40%)
HSVhsv(233, 78%, 65%)
CMYKcmyk(77.6%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.29, 35.13, -62.20)
CIE-LCHlch(28.29, 71.43, 299.46°)
OKLaboklab(39.6% -0.001 -0.18)
OKLCHoklch(39.6% 0.18 269.7)
XYZxyz(8.7801, 5.5649, 36.2014)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A5 #A59625
analogous
#2574A5 #2534A5 #5625A5
triadic
#2534A5 #A52534 #34A525
tetradic
#2534A5 #A52574 #A59625 #25A556
square
#2534A5 #A52574 #A59625 #25A556
split-complementary
#2534A5 #A55625 #74A525
monochromatic
#0F1441 #1A2473 #2534A5 #3548D2 #6775DD

Accessibility & contrast

On white

9.94
#2534A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2534A5
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A5#FFFFFF#000000##FFFFFF
##2534A51.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2534a5;
/* rgb */ color: rgb(37, 52, 165);
/* oklch */ color: oklch(39.6% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#756cc1',
    500: '#2534a5',
    950: '#000000',
  },
}
SCSS
$custom: #2534a5;
$custom-light: #756cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a5",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 232.969,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.18003,
    "h": 269.7
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#2534A5
secondary
#C3B863
accent
#D341E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2534A5

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

Preview Lab → · Contrast checker → · Palette generator →

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