#4638CA#4638CA

#4638CA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.214 H 278.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4638CA
RGBrgb(70, 56, 202)
HSLhsl(246, 58%, 51%)
HSVhsv(246, 72%, 79%)
CMYKcmyk(65.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.79, 48.84, -73.35)
CIE-LCHlch(34.79, 88.13, 303.66°)
OKLaboklab(45.89% 0.0301 -0.2118)
OKLCHoklch(45.89% 0.214 278.1)
XYZxyz(14.5972, 8.3935, 56.7165)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638CA #BCCA38
analogous
#3873CA #4638CA #8F38CA
triadic
#4638CA #CA4638 #38CA46
tetradic
#4638CA #CA3873 #BCCA38 #38CA8F
square
#4638CA #CA3873 #BCCA38 #38CA8F
split-complementary
#4638CA #CA8F38 #73CA38
monochromatic
#241D6B #34299B #4638CA #7368D7 #A099E4

Accessibility & contrast

On white

7.84
#4638CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4638CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638CA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638CA#FFFFFF#000000##FFFFFF
##4638CA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4638ca;
/* rgb */ color: rgb(70, 56, 202);
/* oklch */ color: oklch(45.9% 0.214 278.1);
Tailwind
colors: {
  custom: {
    50: '#8a71db',
    500: '#4638ca',
    950: '#000000',
  },
}
SCSS
$custom: #4638ca;
$custom-light: #8a71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4638ca",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 245.753,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.21394,
    "h": 278.1
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#4638CA
secondary
#C9CF8E
accent
#E147D2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4638CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva