#2546BC#2546BC

#2546BC is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.189 H 266.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2546BC
RGBrgb(37, 70, 188)
HSLhsl(227, 67%, 44%)
HSVhsv(227, 80%, 74%)
CMYKcmyk(80.3%, 62.8%, 0%, 26.3%)
CIE-LABlab(34.81, 32.02, -65.20)
CIE-LCHlch(34.81, 72.64, 296.15°)
OKLaboklab(45.03% -0.0119 -0.1887)
OKLCHoklch(45.03% 0.189 266.4)
XYZxyz(12.0270, 8.4031, 48.5553)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2546BC #BC9B25
analogous
#2592BC #2546BC #4F25BC
triadic
#2546BC #BC2546 #46BC25
tetradic
#2546BC #BC2592 #BC9B25 #25BC4F
square
#2546BC #BC2592 #BC9B25 #25BC4F
split-complementary
#2546BC #BC4F25 #92BC25
monochromatic
#112056 #1B3389 #2546BC #4465DA #778FE4

Accessibility & contrast

On white

7.83
#2546BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2546BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2546BC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2546BC#FFFFFF#000000##FFFFFF
##2546BC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2546bc;
/* rgb */ color: rgb(37, 70, 188);
/* oklch */ color: oklch(45.0% 0.189 266.4);
Tailwind
colors: {
  custom: {
    50: '#7979d1',
    500: '#2546bc',
    950: '#000000',
  },
}
SCSS
$custom: #2546bc;
$custom-light: #7979d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2546bc",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 226.887,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.18905,
    "h": 266.4
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#2546BC
secondary
#CCB871
accent
#C43EEA
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2546BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2546BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva