#4262BF#4262BF

#4262BF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.150 H 266.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4262BF
RGBrgb(66, 98, 191)
HSLhsl(225, 49%, 50%)
HSVhsv(225, 65%, 75%)
CMYKcmyk(65.4%, 48.7%, 0%, 25.1%)
CIE-LABlab(43.73, 18.70, -52.41)
CIE-LCHlch(43.73, 55.64, 289.64°)
OKLaboklab(52.16% -0.0082 -0.1501)
OKLCHoklch(52.16% 0.15 266.9)
XYZxyz(16.0152, 13.6537, 51.0716)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262BF #BF9F42
analogous
#42A0BF #4262BF #6042BF
triadic
#4262BF #BF4262 #62BF42
tetradic
#4262BF #BF42A0 #BF9F42 #42BF60
square
#4262BF #BF42A0 #BF9F42 #42BF60
split-complementary
#4262BF #BF6042 #A0BF42
monochromatic
#223365 #324A92 #4262BF #7088CE #9DAEDE

Accessibility & contrast

On white

5.63
#4262BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4262BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262BF#FFFFFF#000000##FFFFFF
##4262BF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4262bf;
/* rgb */ color: rgb(66, 98, 191);
/* oklch */ color: oklch(52.2% 0.150 266.9);
Tailwind
colors: {
  custom: {
    50: '#838ed3',
    500: '#4262bf',
    950: '#000000',
  },
}
SCSS
$custom: #4262bf;
$custom-light: #838ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4262bf",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 224.64,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.15035,
    "h": 266.9
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#4262BF
secondary
#CABC93
accent
#B64FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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