#2534A9#2534A9

#2534A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.185 H 269.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2534A9
RGBrgb(37, 52, 169)
HSLhsl(233, 64%, 40%)
HSVhsv(233, 78%, 66%)
CMYKcmyk(78.1%, 69.2%, 0%, 33.7%)
CIE-LABlab(28.68, 36.59, -63.97)
CIE-LCHlch(28.68, 73.69, 299.77°)
OKLaboklab(40% -0.0013 -0.1852)
OKLCHoklch(40% 0.185 269.6)
XYZxyz(9.1499, 5.7128, 38.1489)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A9 #A99A25
analogous
#2576A9 #2534A9 #5825A9
triadic
#2534A9 #A92534 #34A925
tetradic
#2534A9 #A92576 #A99A25 #25A958
square
#2534A9 #A92576 #A99A25 #25A958
split-complementary
#2534A9 #A95825 #76A925
monochromatic
#0F1545 #1A2577 #2534A9 #3849D3 #6A77DE

Accessibility & contrast

On white

9.80
#2534A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2534A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534A9
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A9#FFFFFF#000000##FFFFFF
##2534A91.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2534a9;
/* rgb */ color: rgb(37, 52, 169);
/* oklch */ color: oklch(40.0% 0.185 269.6);
Tailwind
colors: {
  custom: {
    50: '#766cc4',
    500: '#2534a9',
    950: '#000000',
  },
}
SCSS
$custom: #2534a9;
$custom-light: #766cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a9",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 233.182,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.1852,
    "h": 269.6
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#2534A9
secondary
#C4BA65
accent
#D441E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2534A9

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

Preview Lab → · Contrast checker → · Palette generator →

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