#475FBA#475FBA

#475FBA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.146 H 269.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#475FBA
RGBrgb(71, 95, 186)
HSLhsl(227, 45%, 50%)
HSVhsv(227, 62%, 73%)
CMYKcmyk(61.8%, 48.9%, 0%, 27.1%)
CIE-LABlab(42.87, 19.74, -50.88)
CIE-LCHlch(42.87, 54.57, 291.20°)
OKLaboklab(51.47% -0.001 -0.1456)
OKLCHoklch(51.47% 0.146 269.6)
XYZxyz(15.5507, 13.0679, 48.1477)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475FBA #BAA247
analogous
#4799BA #475FBA #6847BA
triadic
#475FBA #BA475F #5FBA47
tetradic
#475FBA #BA4799 #BAA247 #47BA68
square
#475FBA #BA4799 #BAA247 #47BA68
split-complementary
#475FBA #BA6847 #99BA47
monochromatic
#253162 #35488E #475FBA #7486CB #A0ACDB

Accessibility & contrast

On white

5.81
#475FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#475FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #475FBA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475FBA#FFFFFF#000000##FFFFFF
##475FBA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#1960B8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #475fba;
/* rgb */ color: rgb(71, 95, 186);
/* oklch */ color: oklch(51.5% 0.146 269.6);
Tailwind
colors: {
  custom: {
    50: '#858ccf',
    500: '#475fba',
    950: '#000000',
  },
}
SCSS
$custom: #475fba;
$custom-light: #858ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#475fba",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 227.478,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.14556,
    "h": 269.6
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#475FBA
secondary
#C8BD95
accent
#BA53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #475FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#475FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva