#4262AF#4262AF

#4262AF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.128 H 265.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4262AF
RGBrgb(66, 98, 175)
HSLhsl(222, 45%, 47%)
HSVhsv(222, 62%, 69%)
CMYKcmyk(62.3%, 44%, 0%, 31.4%)
CIE-LABlab(42.74, 13.03, -44.65)
CIE-LCHlch(42.74, 46.51, 286.27°)
OKLaboklab(51.09% -0.0107 -0.1273)
OKLCHoklch(51.09% 0.128 265.2)
XYZxyz(14.3496, 12.9875, 42.2998)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262AF #AF8F42
analogous
#4299AF #4262AF #5842AF
triadic
#4262AF #AF4262 #62AF42
tetradic
#4262AF #AF4299 #AF8F42 #42AF58
square
#4262AF #AF4299 #AF8F42 #42AF58
split-complementary
#4262AF #AF5842 #99AF42
monochromatic
#203056 #314983 #4262AF #6884C6 #95A8D7

Accessibility & contrast

On white

5.84
#4262AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4262AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262AF#FFFFFF#000000##FFFFFF
##4262AF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#2E60AD
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4262af;
/* rgb */ color: rgb(66, 98, 175);
/* oklch */ color: oklch(51.1% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#808ec7',
    500: '#4262af',
    950: '#000000',
  },
}
SCSS
$custom: #4262af;
$custom-light: #808ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4262af",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 222.385,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.12777,
    "h": 265.2
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#4262AF
secondary
#C2B28A
accent
#AF53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4262AF

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

Preview Lab → · Contrast checker → · Palette generator →

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