#2D63AF#2D63AF

#2D63AF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.134 H 257.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2D63AF
RGBrgb(45, 99, 175)
HSLhsl(215, 59%, 43%)
HSVhsv(215, 74%, 69%)
CMYKcmyk(74.3%, 43.4%, 0%, 31.4%)
CIE-LABlab(42.12, 8.95, -45.71)
CIE-LCHlch(42.12, 46.57, 281.07°)
OKLaboklab(50.35% -0.0289 -0.1308)
OKLCHoklch(50.35% 0.134 257.5)
XYZxyz(13.2791, 12.5752, 42.2765)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63AF #AF792D
analogous
#2DA4AF #2D63AF #382DAF
triadic
#2D63AF #AF2D63 #63AF2D
tetradic
#2D63AF #AF2DA4 #AF792D #2DAF38
square
#2D63AF #AF2DA4 #AF792D #2DAF38
split-complementary
#2D63AF #AF382D #A4AF2D
monochromatic
#142C4E #20477E #2D63AF #4981D0 #7AA3DD

Accessibility & contrast

On white

5.97
#2D63AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2D63AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63AF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63AF#FFFFFF#000000##FFFFFF
##2D63AF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d63af;
/* rgb */ color: rgb(45, 99, 175);
/* oklch */ color: oklch(50.4% 0.134 257.5);
Tailwind
colors: {
  custom: {
    50: '#778ec7',
    500: '#2d63af',
    950: '#000000',
  },
}
SCSS
$custom: #2d63af;
$custom-light: #778ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63af",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 215.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.13392,
    "h": 257.5
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#2D63AF
secondary
#C5A373
accent
#A146E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D63AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2D63AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva