#4262B2#4262B2

#4262B2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.132 H 265.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4262B2
RGBrgb(66, 98, 178)
HSLhsl(223, 46%, 48%)
HSVhsv(223, 63%, 70%)
CMYKcmyk(62.9%, 44.9%, 0%, 30.2%)
CIE-LABlab(42.92, 14.09, -46.12)
CIE-LCHlch(42.92, 48.23, 286.98°)
OKLaboklab(51.28% -0.0102 -0.1316)
OKLCHoklch(51.28% 0.132 265.6)
XYZxyz(14.6476, 13.1067, 43.8688)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262B2 #B29242
analogous
#429AB2 #4262B2 #5A42B2
triadic
#4262B2 #B24262 #62B242
tetradic
#4262B2 #B2429A #B29242 #42B25A
square
#4262B2 #B2429A #B29242 #42B25A
split-complementary
#4262B2 #B25A42 #9AB242
monochromatic
#213159 #314985 #4262B2 #6A84C8 #96A9D8

Accessibility & contrast

On white

5.80
#4262B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4262B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4262B2#FFFFFF#000000##FFFFFF
##4262B21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#2A61B0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4262b2;
/* rgb */ color: rgb(66, 98, 178);
/* oklch */ color: oklch(51.3% 0.132 265.6);
Tailwind
colors: {
  custom: {
    50: '#818ec9',
    500: '#4262b2',
    950: '#000000',
  },
}
SCSS
$custom: #4262b2;
$custom-light: #818ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4262b2",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 222.857,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.13204,
    "h": 265.6
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#4262B2
secondary
#C4B48C
accent
#B052D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4262B2

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

Preview Lab → · Contrast checker → · Palette generator →

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