#2563BA#2563BA

#2563BA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.151 H 257.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2563BA
RGBrgb(37, 99, 186)
HSLhsl(215, 67%, 44%)
HSVhsv(215, 80%, 73%)
CMYKcmyk(80.1%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.55, 12.21, -51.46)
CIE-LCHlch(42.55, 52.89, 283.35°)
OKLaboklab(50.84% -0.0319 -0.1478)
OKLCHoklch(50.84% 0.151 257.8)
XYZxyz(14.0845, 12.8605, 48.1849)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2563BA #BA7C25
analogous
#25ADBA #2563BA #3225BA
triadic
#2563BA #BA2563 #63BA25
tetradic
#2563BA #BA25AD #BA7C25 #25BA32
square
#2563BA #BA25AD #BA7C25 #25BA32
split-complementary
#2563BA #BA3225 #ADBA25
monochromatic
#112D54 #1B4887 #2563BA #4381DA #76A3E4

Accessibility & contrast

On white

5.88
#2563BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2563BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2563BA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2563BA#FFFFFF#000000##FFFFFF
##2563BA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2563ba;
/* rgb */ color: rgb(37, 99, 186);
/* oklch */ color: oklch(50.8% 0.151 257.8);
Tailwind
colors: {
  custom: {
    50: '#778ecf',
    500: '#2563ba',
    950: '#000000',
  },
}
SCSS
$custom: #2563ba;
$custom-light: #778ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2563ba",
  "rgb": {
    "r": 37,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 215.034,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.15119,
    "h": 257.8
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#2563BA
secondary
#CBA570
accent
#A23EEA
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2563BA

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

Preview Lab → · Contrast checker → · Palette generator →

#2563BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva