#4262BC#4262BC

#4262BC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.0% C 0.146 H 266.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4262BC
RGBrgb(66, 98, 188)
HSLhsl(224, 48%, 50%)
HSVhsv(224, 65%, 74%)
CMYKcmyk(64.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.54, 17.63, -50.97)
CIE-LCHlch(43.54, 53.94, 289.08°)
OKLaboklab(51.96% -0.0086 -0.1459)
OKLCHoklch(51.96% 0.146 266.6)
XYZxyz(15.6884, 13.5230, 49.3506)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262BC #BC9C42
analogous
#429FBC #4262BC #5F42BC
triadic
#4262BC #BC4262 #62BC42
tetradic
#4262BC #BC429F #BC9C42 #42BC5F
square
#4262BC #BC429F #BC9C42 #42BC5F
split-complementary
#4262BC #BC5F42 #9FBC42
monochromatic
#223361 #324A8F #4262BC #6F87CC #9CADDC

Accessibility & contrast

On white

5.67
#4262BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4262BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262BC#FFFFFF#000000##FFFFFF
##4262BC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4262bc;
/* rgb */ color: rgb(66, 98, 188);
/* oklch */ color: oklch(52.0% 0.146 266.6);
Tailwind
colors: {
  custom: {
    50: '#838ed1',
    500: '#4262bc',
    950: '#000000',
  },
}
SCSS
$custom: #4262bc;
$custom-light: #838ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4262bc",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 224.262,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.14616,
    "h": 266.6
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#4262BC
secondary
#C9BA91
accent
#B450D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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