#4262A2#4262A2

#4262A2 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.3% C 0.109 H 263.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4262A2
RGBrgb(66, 98, 162)
HSLhsl(220, 42%, 45%)
HSVhsv(220, 59%, 64%)
CMYKcmyk(59.3%, 39.5%, 0%, 36.5%)
CIE-LABlab(42.00, 8.49, -38.16)
CIE-LCHlch(42.00, 39.09, 282.54°)
OKLaboklab(50.28% -0.0133 -0.1083)
OKLCHoklch(50.28% 0.109 263)
XYZxyz(13.1338, 12.5012, 35.8963)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262A2 #A28242
analogous
#4292A2 #4262A2 #5242A2
triadic
#4262A2 #A24262 #62A242
tetradic
#4262A2 #A24292 #A28242 #42A252
square
#4262A2 #A24292 #A28242 #42A252
split-complementary
#4262A2 #A25242 #92A242
monochromatic
#1F2D4B #304877 #4262A2 #6281BF #8EA4D1

Accessibility & contrast

On white

6.00
#4262A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4262A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262A2#FFFFFF#000000##FFFFFF
##4262A21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#00707A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4262a2;
/* rgb */ color: rgb(66, 98, 162);
/* oklch */ color: oklch(50.3% 0.109 263.0);
Tailwind
colors: {
  custom: {
    50: '#7e8ebe',
    500: '#4262a2',
    950: '#000000',
  },
}
SCSS
$custom: #4262a2;
$custom-light: #7e8ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4262a2",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 220,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.10911,
    "h": 263
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#4262A2
secondary
#BCA984
accent
#A956D2
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4262A2

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

Preview Lab → · Contrast checker → · Palette generator →

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