#4270CF#4270CF

#4270CF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.155 H 262.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4270CF
RGBrgb(66, 112, 207)
HSLhsl(220, 59%, 54%)
HSVhsv(220, 68%, 81%)
CMYKcmyk(68.1%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.57, 15.55, -53.84)
CIE-LCHlch(48.57, 56.04, 286.11°)
OKLaboklab(56.19% -0.0191 -0.1541)
OKLCHoklch(56.19% 0.155 262.9)
XYZxyz(19.2994, 17.2496, 61.3318)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270CF #CFA142
analogous
#42B6CF #4270CF #5A42CF
triadic
#4270CF #CF4270 #70CF42
tetradic
#4270CF #CF42B6 #CFA142 #42CF5A
square
#4270CF #CF42B6 #CFA142 #42CF5A
split-complementary
#4270CF #CF5A42 #B6CF42
monochromatic
#1F3C78 #2B54A9 #4270CF #7395DB #A4BAE8

Accessibility & contrast

On white

4.72
#4270CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4270CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270CF#FFFFFF#000000##FFFFFF
##4270CF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#236DCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4270cf;
/* rgb */ color: rgb(66, 112, 207);
/* oklch */ color: oklch(56.2% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#8698de',
    500: '#4270cf',
    950: '#000000',
  },
}
SCSS
$custom: #4270cf;
$custom-light: #8698de;
$custom-dark: #000000;
JSON
{
  "hex": "#4270cf",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 220.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.1553,
    "h": 262.9
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#4270CF
secondary
#D5C198
accent
#AF45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4270CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva