#4261D4#4261D4

#4261D4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.180 H 268.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4261D4
RGBrgb(66, 97, 212)
HSLhsl(227, 63%, 55%)
HSVhsv(227, 69%, 83%)
CMYKcmyk(68.9%, 54.2%, 0%, 16.9%)
CIE-LABlab(44.88, 26.82, -62.64)
CIE-LCHlch(44.88, 68.14, 293.17°)
OKLaboklab(53.49% -0.0054 -0.1802)
OKLCHoklch(53.49% 0.18 268.3)
XYZxyz(18.4010, 14.4593, 64.0958)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261D4 #D4B542
analogous
#42AAD4 #4261D4 #6C42D4
triadic
#4261D4 #D44261 #61D442
tetradic
#4261D4 #D442AA #D4B542 #42D46C
square
#4261D4 #D442AA #D4B542 #42D46C
split-complementary
#4261D4 #D46C42 #AAD442
monochromatic
#1D327F #2845B1 #4261D4 #748BDF #A6B4EB

Accessibility & contrast

On white

5.40
#4261D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4261D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261D4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261D4#FFFFFF#000000##FFFFFF
##4261D41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4261d4;
/* rgb */ color: rgb(66, 97, 212);
/* oklch */ color: oklch(53.5% 0.180 268.3);
Tailwind
colors: {
  custom: {
    50: '#878de2',
    500: '#4261d4',
    950: '#000000',
  },
}
SCSS
$custom: #4261d4;
$custom-light: #878de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4261d4",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 212
  },
  "hsl": {
    "h": 227.26,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.18033,
    "h": 268.3
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#4261D4
secondary
#D8CB9A
accent
#C342E6
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4261D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4261D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva