#4261CB#4261CB

#4261CB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.8% C 0.168 H 267.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4261CB
RGBrgb(66, 97, 203)
HSLhsl(226, 57%, 53%)
HSVhsv(226, 67%, 80%)
CMYKcmyk(67.5%, 52.2%, 0%, 20.4%)
CIE-LABlab(44.26, 23.61, -58.49)
CIE-LCHlch(44.26, 63.08, 291.98°)
OKLaboklab(52.82% -0.006 -0.168)
OKLCHoklch(52.82% 0.168 267.9)
XYZxyz(17.2972, 14.0178, 58.2825)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261CB #CBAC42
analogous
#42A6CB #4261CB #6742CB
triadic
#4261CB #CB4261 #61CB42
tetradic
#4261CB #CB42A6 #CBAC42 #42CB67
square
#4261CB #CB42A6 #CBAC42 #42CB67
split-complementary
#4261CB #CB6742 #A6CB42
monochromatic
#203273 #2D48A3 #4261CB #7289D8 #A2B1E5

Accessibility & contrast

On white

5.52
#4261CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4261CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261CB#FFFFFF#000000##FFFFFF
##4261CB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4261cb;
/* rgb */ color: rgb(66, 97, 203);
/* oklch */ color: oklch(52.8% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#868ddb',
    500: '#4261cb',
    950: '#000000',
  },
}
SCSS
$custom: #4261cb;
$custom-light: #868ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4261cb",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 226.423,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.16816,
    "h": 267.9
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#4261CB
secondary
#D2C597
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4261CB

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

Preview Lab → · Contrast checker → · Palette generator →

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