#4262BA#4262BA

#4262BA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.143 H 266.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4262BA
RGBrgb(66, 98, 186)
HSLhsl(224, 48%, 49%)
HSVhsv(224, 65%, 73%)
CMYKcmyk(64.5%, 47.3%, 0%, 27.1%)
CIE-LABlab(43.41, 16.92, -50.01)
CIE-LCHlch(43.41, 52.80, 288.69°)
OKLaboklab(51.82% -0.0089 -0.1431)
OKLCHoklch(51.82% 0.143 266.4)
XYZxyz(15.4743, 13.4374, 48.2230)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262BA #BA9A42
analogous
#429EBA #4262BA #5E42BA
triadic
#4262BA #BA4262 #62BA42
tetradic
#4262BA #BA429E #BA9A42 #42BA5E
square
#4262BA #BA429E #BA9A42 #42BA5E
split-complementary
#4262BA #BA5E42 #9EBA42
monochromatic
#223260 #324A8D #4262BA #6E87CB #9BACDB

Accessibility & contrast

On white

5.69
#4262BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4262BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262BA#FFFFFF#000000##FFFFFF
##4262BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBD
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4262ba;
/* rgb */ color: rgb(66, 98, 186);
/* oklch */ color: oklch(51.8% 0.143 266.4);
Tailwind
colors: {
  custom: {
    50: '#828ecf',
    500: '#4262ba',
    950: '#000000',
  },
}
SCSS
$custom: #4262ba;
$custom-light: #828ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4262ba",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 224,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.14335,
    "h": 266.4
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#4262BA
secondary
#C8B990
accent
#B351D7
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4262BA

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

Preview Lab → · Contrast checker → · Palette generator →

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