#4262BE#4262BE

#4262BE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.149 H 266.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4262BE
RGBrgb(66, 98, 190)
HSLhsl(225, 49%, 50%)
HSVhsv(225, 65%, 75%)
CMYKcmyk(65.3%, 48.4%, 0%, 25.5%)
CIE-LABlab(43.67, 18.34, -51.93)
CIE-LCHlch(43.67, 55.08, 289.45°)
OKLaboklab(52.09% -0.0084 -0.1487)
OKLCHoklch(52.09% 0.149 266.8)
XYZxyz(15.9055, 13.6098, 50.4940)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262BE #BE9E42
analogous
#42A0BE #4262BE #6042BE
triadic
#4262BE #BE4262 #62BE42
tetradic
#4262BE #BE42A0 #BE9E42 #42BE60
square
#4262BE #BE42A0 #BE9E42 #42BE60
split-complementary
#4262BE #BE6042 #A0BE42
monochromatic
#223363 #324A91 #4262BE #7088CE #9DAEDD

Accessibility & contrast

On white

5.64
#4262BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4262BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262BE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262BE#FFFFFF#000000##FFFFFF
##4262BE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4262be;
/* rgb */ color: rgb(66, 98, 190);
/* oklch */ color: oklch(52.1% 0.149 266.8);
Tailwind
colors: {
  custom: {
    50: '#838ed2',
    500: '#4262be',
    950: '#000000',
  },
}
SCSS
$custom: #4262be;
$custom-light: #838ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4262be",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 224.516,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.14895,
    "h": 266.8
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#4262BE
secondary
#CABB92
accent
#B54FD8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262BE

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

Preview Lab → · Contrast checker → · Palette generator →

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