#2534A8#2534A8

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

Color values

HEX#2534A8
RGBrgb(37, 52, 168)
HSLhsl(233, 64%, 40%)
HSVhsv(233, 78%, 66%)
CMYKcmyk(78%, 69%, 0%, 34.1%)
CIE-LABlab(28.58, 36.22, -63.53)
CIE-LCHlch(28.58, 73.13, 299.69°)
OKLaboklab(39.9% -0.0012 -0.1839)
OKLCHoklch(39.9% 0.184 269.6)
XYZxyz(9.0564, 5.6754, 37.6564)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534A8 #A89925
analogous
#2575A8 #2534A8 #5825A8
triadic
#2534A8 #A82534 #34A825
tetradic
#2534A8 #A82575 #A89925 #25A858
square
#2534A8 #A82575 #A89925 #25A858
split-complementary
#2534A8 #A85825 #75A825
monochromatic
#0F1544 #1A2476 #2534A8 #3749D3 #6977DE

Accessibility & contrast

On white

9.84
#2534A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2534A8
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534A8#FFFFFF#000000##FFFFFF
##2534A81.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2534a8;
/* rgb */ color: rgb(37, 52, 168);
/* oklch */ color: oklch(39.9% 0.184 269.6);
Tailwind
colors: {
  custom: {
    50: '#766cc3',
    500: '#2534a8',
    950: '#000000',
  },
}
SCSS
$custom: #2534a8;
$custom-light: #766cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2534a8",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 233.13,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.18391,
    "h": 269.6
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2534A8

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

Preview Lab → · Contrast checker → · Palette generator →

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