#2547A2#2547A2

#2547A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.153 H 265.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2547A2
RGBrgb(37, 71, 162)
HSLhsl(224, 63%, 39%)
HSVhsv(224, 77%, 64%)
CMYKcmyk(77.2%, 56.2%, 0%, 36.5%)
CIE-LABlab(32.94, 21.40, -52.79)
CIE-LCHlch(32.94, 56.97, 292.07°)
OKLaboklab(42.96% -0.0133 -0.1522)
OKLCHoklch(42.96% 0.153 265)
XYZxyz(9.5355, 7.5074, 35.1219)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2547A2 #A28025
analogous
#2586A2 #2547A2 #4225A2
triadic
#2547A2 #A22547 #47A225
tetradic
#2547A2 #A22586 #A28025 #25A242
square
#2547A2 #A22586 #A28025 #25A242
split-complementary
#2547A2 #A24225 #86A225
monochromatic
#0E1B3E #1A3170 #2547A2 #345ED1 #6586DC

Accessibility & contrast

On white

8.39
#2547A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2547A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2547A2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2547A2#FFFFFF#000000##FFFFFF
##2547A21.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2547a2;
/* rgb */ color: rgb(37, 71, 162);
/* oklch */ color: oklch(43.0% 0.153 265.0);
Tailwind
colors: {
  custom: {
    50: '#7379be',
    500: '#2547a2',
    950: '#000000',
  },
}
SCSS
$custom: #2547a2;
$custom-light: #7379be;
$custom-dark: #000000;
JSON
{
  "hex": "#2547a2",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 223.68,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.15283,
    "h": 265
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#2547A2
secondary
#C2A761
accent
#B942E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2547A2

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

Preview Lab → · Contrast checker → · Palette generator →

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