#4638BE#4638BE

#4638BE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.7% C 0.199 H 279.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4638BE
RGBrgb(70, 56, 190)
HSLhsl(246, 54%, 48%)
HSVhsv(246, 71%, 75%)
CMYKcmyk(63.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.66, 45.07, -68.18)
CIE-LCHlch(33.66, 81.73, 303.47°)
OKLaboklab(44.75% 0.0323 -0.1967)
OKLCHoklch(44.75% 0.199 279.3)
XYZxyz(13.2313, 7.8471, 49.5226)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4638BE #B0BE38
analogous
#386DBE #4638BE #8938BE
triadic
#4638BE #BE4638 #38BE46
tetradic
#4638BE #BE386D #B0BE38 #38BE89
square
#4638BE #BE386D #B0BE38 #38BE89
split-complementary
#4638BE #BE8938 #6DBE38
monochromatic
#231C5F #352A8F #4638BE #6E62D1 #9A92DF

Accessibility & contrast

On white

8.17
#4638BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4638BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4638BE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4638BE#FFFFFF#000000##FFFFFF
##4638BE1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4638be;
/* rgb */ color: rgb(70, 56, 190);
/* oklch */ color: oklch(44.7% 0.199 279.3);
Tailwind
colors: {
  custom: {
    50: '#8870d3',
    500: '#4638be',
    950: '#000000',
  },
}
SCSS
$custom: #4638be;
$custom-light: #8870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4638be",
  "rgb": {
    "r": 70,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 246.269,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.19933,
    "h": 279.3
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#4638BE
secondary
#C3CA88
accent
#DE4ACE
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4638BE

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

Preview Lab → · Contrast checker → · Palette generator →

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