#4261CF#4261CF

#4261CF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.174 H 268.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4261CF
RGBrgb(66, 97, 207)
HSLhsl(227, 59%, 54%)
HSVhsv(227, 68%, 81%)
CMYKcmyk(68.1%, 53.1%, 0%, 18.8%)
CIE-LABlab(44.53, 25.04, -60.35)
CIE-LCHlch(44.53, 65.34, 292.53°)
OKLaboklab(53.11% -0.0057 -0.1735)
OKLCHoklch(53.11% 0.174 268.1)
XYZxyz(17.7801, 14.2109, 60.8253)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261CF #CFB042
analogous
#42A7CF #4261CF #6942CF
triadic
#4261CF #CF4261 #61CF42
tetradic
#4261CF #CF42A7 #CFB042 #42CF69
square
#4261CF #CF42A7 #CFB042 #42CF69
split-complementary
#4261CF #CF6942 #A7CF42
monochromatic
#1F3278 #2B47A9 #4261CF #738ADB #A4B3E8

Accessibility & contrast

On white

5.47
#4261CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4261CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261CF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261CF#FFFFFF#000000##FFFFFF
##4261CF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4261cf;
/* rgb */ color: rgb(66, 97, 207);
/* oklch */ color: oklch(53.1% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#868dde',
    500: '#4261cf',
    950: '#000000',
  },
}
SCSS
$custom: #4261cf;
$custom-light: #868dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4261cf",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 226.809,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.17359,
    "h": 268.1
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#4261CF
secondary
#D5C798
accent
#C045E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4261CF

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

Preview Lab → · Contrast checker → · Palette generator →

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