#4638BF#4638BF

#4638BF is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.201 H 279.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4638BF
RGBrgb(70, 56, 191)
HSLhsl(246, 55%, 48%)
HSVhsv(246, 71%, 75%)
CMYKcmyk(63.4%, 70.7%, 0%, 25.1%)
CIE-LABlab(33.75, 45.39, -68.62)
CIE-LCHlch(33.75, 82.27, 303.48°)
OKLaboklab(44.84% 0.0322 -0.198)
OKLCHoklch(44.84% 0.201 279.2)
XYZxyz(13.3409, 7.8910, 50.1002)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638BF #B1BF38
analogous
#386DBF #4638BF #8938BF
triadic
#4638BF #BF4638 #38BF46
tetradic
#4638BF #BF386D #B1BF38 #38BF89
square
#4638BF #BF386D #B1BF38 #38BF89
split-complementary
#4638BF #BF8938 #6DBF38
monochromatic
#231C60 #352A90 #4638BF #6E63D1 #9A92DF

Accessibility & contrast

On white

8.14
#4638BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4638BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638BF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638BF#FFFFFF#000000##FFFFFF
##4638BF1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4638bf;
/* rgb */ color: rgb(70, 56, 191);
/* oklch */ color: oklch(44.8% 0.201 279.2);
Tailwind
colors: {
  custom: {
    50: '#8870d3',
    500: '#4638bf',
    950: '#000000',
  },
}
SCSS
$custom: #4638bf;
$custom-light: #8870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4638bf",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 246.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.20057,
    "h": 279.2
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4638BF
secondary
#C3CA89
accent
#DE4ACF
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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