#4262AC#4262AC

#4262AC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.123 H 264.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4262AC
RGBrgb(66, 98, 172)
HSLhsl(222, 45%, 47%)
HSVhsv(222, 62%, 67%)
CMYKcmyk(61.6%, 43%, 0%, 32.5%)
CIE-LABlab(42.57, 11.98, -43.17)
CIE-LCHlch(42.57, 44.80, 285.50°)
OKLaboklab(50.9% -0.0113 -0.123)
OKLCHoklch(50.9% 0.123 264.8)
XYZxyz(14.0583, 12.8710, 40.7652)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262AC #AC8C42
analogous
#4297AC #4262AC #5742AC
triadic
#4262AC #AC4262 #62AC42
tetradic
#4262AC #AC4297 #AC8C42 #42AC57
square
#4262AC #AC4297 #AC8C42 #42AC57
split-complementary
#4262AC #AC5742 #97AC42
monochromatic
#203054 #314980 #4262AC #6783C5 #93A7D6

Accessibility & contrast

On white

5.88
#4262AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4262AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262AC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262AC#FFFFFF#000000##FFFFFF
##4262AC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4262ac;
/* rgb */ color: rgb(66, 98, 172);
/* oklch */ color: oklch(50.9% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#808ec5',
    500: '#4262ac',
    950: '#000000',
  },
}
SCSS
$custom: #4262ac;
$custom-light: #808ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4262ac",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 221.887,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50896,
    "c": 0.12347,
    "h": 264.8
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4262AC
secondary
#C1B089
accent
#AD54D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4262AC

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

Preview Lab → · Contrast checker → · Palette generator →

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