#4261C2#4261C2

#4261C2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.156 H 267.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4261C2
RGBrgb(66, 97, 194)
HSLhsl(225, 51%, 51%)
HSVhsv(225, 66%, 76%)
CMYKcmyk(66%, 50%, 0%, 23.9%)
CIE-LABlab(43.66, 20.40, -54.27)
CIE-LCHlch(43.66, 57.98, 290.60°)
OKLaboklab(52.17% -0.0069 -0.1556)
OKLCHoklch(52.17% 0.156 267.5)
XYZxyz(16.2557, 13.6012, 52.7971)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261C2 #C2A342
analogous
#42A1C2 #4261C2 #6342C2
triadic
#4261C2 #C24261 #61C242
tetradic
#4261C2 #C242A1 #C2A342 #42C263
square
#4261C2 #C242A1 #C2A342 #42C263
split-complementary
#4261C2 #C26342 #A1C242
monochromatic
#223368 #314996 #4261C2 #7088D1 #9FAEE0

Accessibility & contrast

On white

5.64
#4261C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4261C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261C2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261C2#FFFFFF#000000##FFFFFF
##4261C21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4261c2;
/* rgb */ color: rgb(66, 97, 194);
/* oklch */ color: oklch(52.2% 0.156 267.5);
Tailwind
colors: {
  custom: {
    50: '#848dd5',
    500: '#4261c2',
    950: '#000000',
  },
}
SCSS
$custom: #4261c2;
$custom-light: #848dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4261c2",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 194
  },
  "hsl": {
    "h": 225.469,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.15577,
    "h": 267.5
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#4261C2
secondary
#CCBF94
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4261C2

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

Preview Lab → · Contrast checker → · Palette generator →

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