#4638CB#4638CB

#4638CB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.215 H 278.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4638CB
RGBrgb(70, 56, 203)
HSLhsl(246, 59%, 51%)
HSVhsv(246, 72%, 80%)
CMYKcmyk(65.5%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.88, 49.15, -73.78)
CIE-LCHlch(34.88, 88.65, 303.67°)
OKLaboklab(45.99% 0.0299 -0.213)
OKLCHoklch(45.99% 0.215 278)
XYZxyz(14.7160, 8.4410, 57.3421)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638CB #BDCB38
analogous
#3873CB #4638CB #8F38CB
triadic
#4638CB #CB4638 #38CB46
tetradic
#4638CB #CB3873 #BDCB38 #38CB8F
square
#4638CB #CB3873 #BDCB38 #38CB8F
split-complementary
#4638CB #CB8F38 #73CB38
monochromatic
#241C6C #34299D #4638CB #7369D8 #A099E4

Accessibility & contrast

On white

7.81
#4638CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4638CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638CB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638CB#FFFFFF#000000##FFFFFF
##4638CB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4638cb;
/* rgb */ color: rgb(70, 56, 203);
/* oklch */ color: oklch(46.0% 0.215 278.0);
Tailwind
colors: {
  custom: {
    50: '#8a71dc',
    500: '#4638cb',
    950: '#000000',
  },
}
SCSS
$custom: #4638cb;
$custom-light: #8a71dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4638cb",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 245.714,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.21514,
    "h": 278
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#4638CB
secondary
#CAD08F
accent
#E246D3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4638CB

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

Preview Lab → · Contrast checker → · Palette generator →

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