#4262CF#4262CF

#4262CF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.172 H 267.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4262CF
RGBrgb(66, 98, 207)
HSLhsl(226, 59%, 54%)
HSVhsv(226, 68%, 81%)
CMYKcmyk(68.1%, 52.7%, 0%, 18.8%)
CIE-LABlab(44.80, 24.40, -59.92)
CIE-LCHlch(44.80, 64.70, 292.16°)
OKLaboklab(53.31% -0.0066 -0.1722)
OKLCHoklch(53.31% 0.172 267.8)
XYZxyz(17.8730, 14.3969, 60.8563)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262CF #CFAF42
analogous
#42A8CF #4262CF #6842CF
triadic
#4262CF #CF4262 #62CF42
tetradic
#4262CF #CF42A8 #CFAF42 #42CF68
square
#4262CF #CF42A8 #CFAF42 #42CF68
split-complementary
#4262CF #CF6842 #A8CF42
monochromatic
#1F3378 #2B47A9 #4262CF #738BDB #A4B3E8

Accessibility & contrast

On white

5.41
#4262CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4262CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262CF#FFFFFF#000000##FFFFFF
##4262CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4262cf;
/* rgb */ color: rgb(66, 98, 207);
/* oklch */ color: oklch(53.3% 0.172 267.8);
Tailwind
colors: {
  custom: {
    50: '#868ede',
    500: '#4262cf',
    950: '#000000',
  },
}
SCSS
$custom: #4262cf;
$custom-light: #868ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4262cf",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 226.383,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.17236,
    "h": 267.8
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#4262CF
secondary
#D5C798
accent
#BF45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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