#2563AF#2563AF

#2563AF is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.1% C 0.136 H 255.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2563AF
RGBrgb(37, 99, 175)
HSLhsl(213, 65%, 42%)
HSVhsv(213, 79%, 69%)
CMYKcmyk(78.9%, 43.4%, 0%, 31.4%)
CIE-LABlab(41.86, 7.95, -46.13)
CIE-LCHlch(41.86, 46.81, 279.77°)
OKLaboklab(50.08% -0.034 -0.1321)
OKLCHoklch(50.08% 0.136 255.6)
XYZxyz(12.9598, 12.4106, 42.2616)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2563AF #AF7125
analogous
#25A8AF #2563AF #2C25AF
triadic
#2563AF #AF2563 #63AF25
tetradic
#2563AF #AF25A8 #AF7125 #25AF2C
square
#2563AF #AF25A8 #AF7125 #25AF2C
split-complementary
#2563AF #AF2C25 #A8AF25
monochromatic
#102A4A #1A467C #2563AF #3C81D6 #6EA1E0

Accessibility & contrast

On white

6.03
#2563AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2563AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2563AF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2563AF#FFFFFF#000000##FFFFFF
##2563AF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2563af;
/* rgb */ color: rgb(37, 99, 175);
/* oklch */ color: oklch(50.1% 0.136 255.6);
Tailwind
colors: {
  custom: {
    50: '#758ec7',
    500: '#2563af',
    950: '#000000',
  },
}
SCSS
$custom: #2563af;
$custom-light: #758ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2563af",
  "rgb": {
    "r": 37,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 213.043,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.13642,
    "h": 255.6
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#2563AF
secondary
#C79D69
accent
#9C40E8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2563AF

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

Preview Lab → · Contrast checker → · Palette generator →

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