#4261D2#4261D2

#4261D2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.178 H 268.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4261D2
RGBrgb(66, 97, 210)
HSLhsl(227, 62%, 54%)
HSVhsv(227, 69%, 82%)
CMYKcmyk(68.6%, 53.8%, 0%, 17.6%)
CIE-LABlab(44.74, 26.10, -61.73)
CIE-LCHlch(44.74, 67.02, 292.92°)
OKLaboklab(53.34% -0.0055 -0.1776)
OKLCHoklch(53.34% 0.178 268.2)
XYZxyz(18.1503, 14.3590, 62.7753)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261D2 #D2B342
analogous
#42A9D2 #4261D2 #6B42D2
triadic
#4261D2 #D24261 #61D242
tetradic
#4261D2 #D242A9 #D2B342 #42D26B
square
#4261D2 #D242A9 #D2B342 #42D26B
split-complementary
#4261D2 #D26B42 #A9D242
monochromatic
#1E327C #2946AD #4261D2 #738ADE #A5B4EA

Accessibility & contrast

On white

5.42
#4261D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4261D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261D2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261D2#FFFFFF#000000##FFFFFF
##4261D21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4261d2;
/* rgb */ color: rgb(66, 97, 210);
/* oklch */ color: oklch(53.3% 0.178 268.2);
Tailwind
colors: {
  custom: {
    50: '#878de1',
    500: '#4261d2',
    950: '#000000',
  },
}
SCSS
$custom: #4261d2;
$custom-light: #878de1;
$custom-dark: #000000;
JSON
{
  "hex": "#4261d2",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 227.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.17765,
    "h": 268.2
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#4261D2
secondary
#D7C999
accent
#C243E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4261D2

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

Preview Lab → · Contrast checker → · Palette generator →

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