#2F65A4#2F65A4

#2F65A4 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.116 H 254.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F65A4
RGBrgb(47, 101, 164)
HSLhsl(212, 55%, 41%)
HSVhsv(212, 71%, 64%)
CMYKcmyk(71.3%, 38.4%, 0%, 35.7%)
CIE-LABlab(42.14, 3.83, -39.18)
CIE-LCHlch(42.14, 39.37, 275.58°)
OKLaboklab(50.18% -0.0319 -0.1115)
OKLCHoklch(50.18% 0.116 254)
XYZxyz(12.5243, 12.5907, 36.8850)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A4 #A46E2F
analogous
#2FA0A4 #2F65A4 #342FA4
triadic
#2F65A4 #A42F65 #65A42F
tetradic
#2F65A4 #A42FA0 #A46E2F #2FA434
square
#2F65A4 #A42FA0 #A46E2F #2FA434
split-complementary
#2F65A4 #A4342F #A0A42F
monochromatic
#142A45 #214874 #2F65A4 #4683CA #76A3D8

Accessibility & contrast

On white

5.97
#2F65A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F65A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65A4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A4#FFFFFF#000000##FFFFFF
##2F65A41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#375EA3
Tritanopia (blue-blind)
#00747C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f65a4;
/* rgb */ color: rgb(47, 101, 164);
/* oklch */ color: oklch(50.2% 0.116 254.0);
Tailwind
colors: {
  custom: {
    50: '#7690bf',
    500: '#2f65a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a4;
$custom-light: #7690bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a4",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 164
  },
  "hsl": {
    "h": 212.308,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.11602,
    "h": 254
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#2F65A4
secondary
#C09A6F
accent
#9A49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F65A4

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

Preview Lab → · Contrast checker → · Palette generator →

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