#4262AA#4262AA

#4262AA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.121 H 264.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4262AA
RGBrgb(66, 98, 170)
HSLhsl(222, 44%, 46%)
HSVhsv(222, 61%, 67%)
CMYKcmyk(61.2%, 42.4%, 0%, 33.3%)
CIE-LABlab(42.45, 11.27, -42.17)
CIE-LCHlch(42.45, 43.66, 284.97°)
OKLaboklab(50.77% -0.0116 -0.12)
OKLCHoklch(50.77% 0.121 264.5)
XYZxyz(13.8677, 12.7947, 39.7612)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262AA #AA8A42
analogous
#4296AA #4262AA #5642AA
triadic
#4262AA #AA4262 #62AA42
tetradic
#4262AA #AA4296 #AA8A42 #42AA56
square
#4262AA #AA4296 #AA8A42 #42AA56
split-complementary
#4262AA #AA5642 #96AA42
monochromatic
#202F52 #31497E #4262AA #6683C3 #92A6D5

Accessibility & contrast

On white

5.90
#4262AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4262AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262AA#FFFFFF#000000##FFFFFF
##4262AA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#3360A8
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4262aa;
/* rgb */ color: rgb(66, 98, 170);
/* oklch */ color: oklch(50.8% 0.121 264.5);
Tailwind
colors: {
  custom: {
    50: '#808ec4',
    500: '#4262aa',
    950: '#000000',
  },
}
SCSS
$custom: #4262aa;
$custom-light: #808ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4262aa",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 221.538,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.12061,
    "h": 264.5
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#4262AA
secondary
#C0AF88
accent
#AC54D4
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4262AA

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

Preview Lab → · Contrast checker → · Palette generator →

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