#2F64A2#2F64A2

#2F64A2 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.8% C 0.114 H 254.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2F64A2
RGBrgb(47, 100, 162)
HSLhsl(212, 55%, 41%)
HSVhsv(212, 71%, 64%)
CMYKcmyk(71%, 38.3%, 0%, 36.5%)
CIE-LABlab(41.73, 3.72, -38.65)
CIE-LCHlch(41.73, 38.82, 275.50°)
OKLaboklab(49.83% -0.0314 -0.11)
OKLCHoklch(49.83% 0.114 254)
XYZxyz(12.2486, 12.3260, 35.9090)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64A2 #A26D2F
analogous
#2F9DA2 #2F64A2 #332FA2
triadic
#2F64A2 #A22F64 #64A22F
tetradic
#2F64A2 #A22F9D #A26D2F #2FA233
square
#2F64A2 #A22F9D #A26D2F #2FA233
split-complementary
#2F64A2 #A2332F #9DA22F
monochromatic
#132943 #214773 #2F64A2 #4582C9 #75A2D7

Accessibility & contrast

On white

6.06
#2F64A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2F64A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64A2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64A2#FFFFFF#000000##FFFFFF
##2F64A21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f64a2;
/* rgb */ color: rgb(47, 100, 162);
/* oklch */ color: oklch(49.8% 0.114 254.0);
Tailwind
colors: {
  custom: {
    50: '#768fbe',
    500: '#2f64a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f64a2;
$custom-light: #768fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64a2",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 212.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.11441,
    "h": 254
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#2F64A2
secondary
#BF9A6E
accent
#9A49DE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F64A2

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

Preview Lab → · Contrast checker → · Palette generator →

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