#4858AF#4858AF

#4858AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.139 H 272.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4858AF
RGBrgb(72, 88, 175)
HSLhsl(231, 42%, 48%)
HSVhsv(231, 59%, 69%)
CMYKcmyk(58.9%, 49.7%, 0%, 31.4%)
CIE-LABlab(40.33, 20.61, -48.50)
CIE-LCHlch(40.33, 52.70, 293.02°)
OKLaboklab(49.34% 0.0061 -0.1386)
OKLCHoklch(49.34% 0.139 272.5)
XYZxyz(13.8975, 11.4512, 42.0271)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858AF #AF9F48
analogous
#488BAF #4858AF #6B48AF
triadic
#4858AF #AF4858 #58AF48
tetradic
#4858AF #AF488B #AF9F48 #48AF6B
square
#4858AF #AF488B #AF9F48 #48AF6B
split-complementary
#4858AF #AF6B48 #8BAF48
monochromatic
#242C58 #364284 #4858AF #707DC4 #9BA4D6

Accessibility & contrast

On white

6.38
#4858AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4858AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858AF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858AF#FFFFFF#000000##FFFFFF
##4858AF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4858af;
/* rgb */ color: rgb(72, 88, 175);
/* oklch */ color: oklch(49.3% 0.139 272.5);
Tailwind
colors: {
  custom: {
    50: '#8486c7',
    500: '#4858af',
    950: '#000000',
  },
}
SCSS
$custom: #4858af;
$custom-light: #8486c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4858af",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 230.68,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.13875,
    "h": 272.5
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#4858AF
secondary
#C2BB90
accent
#BE56D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4858AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4858AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva