#2F64A4#2F64A4

#2F64A4 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 50.0% C 0.117 H 254.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2F64A4
RGBrgb(47, 100, 164)
HSLhsl(213, 55%, 41%)
HSVhsv(213, 71%, 64%)
CMYKcmyk(71.3%, 39%, 0%, 35.7%)
CIE-LABlab(41.84, 4.46, -39.65)
CIE-LCHlch(41.84, 39.90, 276.42°)
OKLaboklab(49.95% -0.0309 -0.1129)
OKLCHoklch(49.95% 0.117 254.7)
XYZxyz(12.4278, 12.3977, 36.8528)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64A4 #A46F2F
analogous
#2F9FA4 #2F64A4 #352FA4
triadic
#2F64A4 #A42F64 #64A42F
tetradic
#2F64A4 #A42F9F #A46F2F #2FA435
square
#2F64A4 #A42F9F #A46F2F #2FA435
split-complementary
#2F64A4 #A4352F #9FA42F
monochromatic
#142A45 #214774 #2F64A4 #4682CA #76A2D8

Accessibility & contrast

On white

6.03
#2F64A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F64A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64A4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64A4#FFFFFF#000000##FFFFFF
##2F64A41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f64a4;
/* rgb */ color: rgb(47, 100, 164);
/* oklch */ color: oklch(50.0% 0.117 254.7);
Tailwind
colors: {
  custom: {
    50: '#768fbf',
    500: '#2f64a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f64a4;
$custom-light: #768fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64a4",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 164
  },
  "hsl": {
    "h": 212.821,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.11711,
    "h": 254.7
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#2F64A4
secondary
#C09B6F
accent
#9B49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F64A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2F64A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva