#4071C9#4071C9

#4071C9 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.147 H 261.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4071C9
RGBrgb(64, 113, 201)
HSLhsl(219, 56%, 52%)
HSVhsv(219, 68%, 79%)
CMYKcmyk(68.2%, 43.8%, 0%, 21.2%)
CIE-LABlab(48.41, 12.46, -50.68)
CIE-LCHlch(48.41, 52.19, 283.81°)
OKLaboklab(55.92% -0.0227 -0.1449)
OKLCHoklch(55.92% 0.147 261.1)
XYZxyz(18.5583, 17.1154, 57.5726)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C9 #C99840
analogous
#40B6C9 #4071C9 #5440C9
triadic
#4071C9 #C94071 #71C940
tetradic
#4071C9 #C940B6 #C99840 #40C954
square
#4071C9 #C940B6 #C99840 #40C954
split-complementary
#4071C9 #C95440 #B6C940
monochromatic
#1F3C6F #2D569F #4071C9 #7094D6 #9FB8E4

Accessibility & contrast

On white

4.75
#4071C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4071C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C9#FFFFFF#000000##FFFFFF
##4071C91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467ACC
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4071c9;
/* rgb */ color: rgb(64, 113, 201);
/* oklch */ color: oklch(55.9% 0.147 261.1);
Tailwind
colors: {
  custom: {
    50: '#8499da',
    500: '#4071c9',
    950: '#000000',
  },
}
SCSS
$custom: #4071c9;
$custom-light: #8499da;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c9",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 218.54,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.14662,
    "h": 261.1
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#4071C9
secondary
#D0BB94
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071C9

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

Preview Lab → · Contrast checker → · Palette generator →

#4071C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva