#4277CB#4277CB

#4277CB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.4% C 0.142 H 259.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4277CB
RGBrgb(66, 119, 203)
HSLhsl(217, 57%, 53%)
HSVhsv(217, 67%, 80%)
CMYKcmyk(67.5%, 41.4%, 0%, 20.4%)
CIE-LABlab(50.29, 9.77, -48.81)
CIE-LCHlch(50.29, 49.78, 281.31°)
OKLaboklab(57.43% -0.0264 -0.1392)
OKLCHoklch(57.43% 0.142 259.3)
XYZxyz(19.6192, 18.6617, 59.0565)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277CB #CB9642
analogous
#42BCCB #4277CB #5142CB
triadic
#4277CB #CB4277 #77CB42
tetradic
#4277CB #CB42BC #CB9642 #42CB51
square
#4277CB #CB42BC #CB9642 #42CB51
split-complementary
#4277CB #CB5142 #BCCB42
monochromatic
#204073 #2D5BA3 #4277CB #729AD8 #A2BCE5

Accessibility & contrast

On white

4.44
#4277CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4277CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277CB#FFFFFF#000000##000000
##4277CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4277cb;
/* rgb */ color: rgb(66, 119, 203);
/* oklch */ color: oklch(57.4% 0.142 259.3);
Tailwind
colors: {
  custom: {
    50: '#859ddb',
    500: '#4277cb',
    950: '#000000',
  },
}
SCSS
$custom: #4277cb;
$custom-light: #859ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4277cb",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 216.788,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.14172,
    "h": 259.3
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#4277CB
secondary
#D2BB97
accent
#A548E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4277CB

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

Preview Lab → · Contrast checker → · Palette generator →

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