#4262CB#4262CB

#4262CB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.0% C 0.167 H 267.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4262CB
RGBrgb(66, 98, 203)
HSLhsl(226, 57%, 53%)
HSVhsv(226, 67%, 80%)
CMYKcmyk(67.5%, 51.7%, 0%, 20.4%)
CIE-LABlab(44.52, 22.97, -58.07)
CIE-LCHlch(44.52, 62.45, 291.59°)
OKLaboklab(53.02% -0.0069 -0.1668)
OKLCHoklch(53.02% 0.167 267.6)
XYZxyz(17.3902, 14.2037, 58.3135)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262CB #CBAB42
analogous
#42A7CB #4262CB #6642CB
triadic
#4262CB #CB4262 #62CB42
tetradic
#4262CB #CB42A7 #CBAB42 #42CB66
square
#4262CB #CB42A7 #CBAB42 #42CB66
split-complementary
#4262CB #CB6642 #A7CB42
monochromatic
#203373 #2D48A3 #4262CB #728AD8 #A2B2E5

Accessibility & contrast

On white

5.47
#4262CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4262CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262CB#FFFFFF#000000##FFFFFF
##4262CB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4262cb;
/* rgb */ color: rgb(66, 98, 203);
/* oklch */ color: oklch(53.0% 0.167 267.6);
Tailwind
colors: {
  custom: {
    50: '#868edb',
    500: '#4262cb',
    950: '#000000',
  },
}
SCSS
$custom: #4262cb;
$custom-light: #868edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4262cb",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 225.985,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.16691,
    "h": 267.6
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#4262CB
secondary
#D2C497
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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