#4261AC#4261AC

#4261AC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.125 H 265.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4261AC
RGBrgb(66, 97, 172)
HSLhsl(222, 45%, 47%)
HSVhsv(222, 62%, 67%)
CMYKcmyk(61.6%, 43.6%, 0%, 32.5%)
CIE-LABlab(42.28, 12.61, -43.62)
CIE-LCHlch(42.28, 45.41, 286.13°)
OKLaboklab(50.68% -0.0102 -0.1243)
OKLCHoklch(50.68% 0.125 265.3)
XYZxyz(13.9653, 12.6850, 40.7342)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261AC #AC8D42
analogous
#4296AC #4261AC #5842AC
triadic
#4261AC #AC4261 #61AC42
tetradic
#4261AC #AC4296 #AC8D42 #42AC58
square
#4261AC #AC4296 #AC8D42 #42AC58
split-complementary
#4261AC #AC5842 #96AC42
monochromatic
#202F54 #314880 #4261AC #6782C5 #93A6D6

Accessibility & contrast

On white

5.94
#4261AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4261AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261AC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261AC#FFFFFF#000000##FFFFFF
##4261AC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4261ac;
/* rgb */ color: rgb(66, 97, 172);
/* oklch */ color: oklch(50.7% 0.125 265.3);
Tailwind
colors: {
  custom: {
    50: '#808dc5',
    500: '#4261ac',
    950: '#000000',
  },
}
SCSS
$custom: #4261ac;
$custom-light: #808dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4261ac",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 172
  },
  "hsl": {
    "h": 222.453,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.12472,
    "h": 265.3
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#4261AC
secondary
#C1B189
accent
#AF54D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4261AC

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

Preview Lab → · Contrast checker → · Palette generator →

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