#4262AD#4262AD

#4262AD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.125 H 264.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4262AD
RGBrgb(66, 98, 173)
HSLhsl(222, 45%, 47%)
HSVhsv(222, 62%, 68%)
CMYKcmyk(61.8%, 43.4%, 0%, 32.2%)
CIE-LABlab(42.63, 12.33, -43.66)
CIE-LCHlch(42.63, 45.37, 285.77°)
OKLaboklab(50.96% -0.0111 -0.1244)
OKLCHoklch(50.96% 0.125 264.9)
XYZxyz(14.1547, 12.9095, 41.2729)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262AD #AD8D42
analogous
#4298AD #4262AD #5842AD
triadic
#4262AD #AD4262 #62AD42
tetradic
#4262AD #AD4298 #AD8D42 #42AD58
square
#4262AD #AD4298 #AD8D42 #42AD58
split-complementary
#4262AD #AD5842 #98AD42
monochromatic
#203054 #314981 #4262AD #6783C5 #93A7D6

Accessibility & contrast

On white

5.86
#4262AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4262AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262AD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262AD#FFFFFF#000000##FFFFFF
##4262AD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB0
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4262ad;
/* rgb */ color: rgb(66, 98, 173);
/* oklch */ color: oklch(51.0% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#808ec6',
    500: '#4262ad',
    950: '#000000',
  },
}
SCSS
$custom: #4262ad;
$custom-light: #808ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4262ad",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 222.056,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.12491,
    "h": 264.9
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#4262AD
secondary
#C1B189
accent
#AE53D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4262AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4262AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva