#4079BA#4079BA

#4079BA is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.118 H 253.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4079BA
RGBrgb(64, 121, 186)
HSLhsl(212, 49%, 49%)
HSVhsv(212, 66%, 73%)
CMYKcmyk(65.6%, 34.9%, 0%, 27.1%)
CIE-LABlab(49.87, 2.21, -39.74)
CIE-LCHlch(49.87, 39.80, 273.19°)
OKLaboklab(56.79% -0.034 -0.1127)
OKLCHoklch(56.79% 0.118 253.2)
XYZxyz(17.8114, 18.3081, 49.0400)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079BA #BA8140
analogous
#40B6BA #4079BA #4440BA
triadic
#4079BA #BA4079 #79BA40
tetradic
#4079BA #BA40B6 #BA8140 #40BA44
square
#4079BA #BA40B6 #BA8140 #40BA44
split-complementary
#4079BA #BA4440 #B6BA40
monochromatic
#213E5F #305B8C #4079BA #6B98CC #99B8DC

Accessibility & contrast

On white

4.50
#4079BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4079BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079BA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079BA#FFFFFF#000000##000000
##4079BA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4079ba;
/* rgb */ color: rgb(64, 121, 186);
/* oklch */ color: oklch(56.8% 0.118 253.2);
Tailwind
colors: {
  custom: {
    50: '#819fcf',
    500: '#4079ba',
    950: '#000000',
  },
}
SCSS
$custom: #4079ba;
$custom-light: #819fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4079ba",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 211.967,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.11769,
    "h": 253.2
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#4079BA
secondary
#C8AD8E
accent
#984FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4079BA

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

Preview Lab → · Contrast checker → · Palette generator →

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