#2F65A7#2F65A7

#2F65A7 is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.120 H 254.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2F65A7
RGBrgb(47, 101, 167)
HSLhsl(213, 56%, 42%)
HSVhsv(213, 72%, 65%)
CMYKcmyk(71.9%, 39.5%, 0%, 34.5%)
CIE-LABlab(42.31, 4.95, -40.68)
CIE-LCHlch(42.31, 40.98, 276.94°)
OKLaboklab(50.37% -0.0312 -0.116)
OKLCHoklch(50.37% 0.12 254.9)
XYZxyz(12.7985, 12.7003, 38.3286)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A7 #A7712F
analogous
#2FA1A7 #2F65A7 #352FA7
triadic
#2F65A7 #A72F65 #65A72F
tetradic
#2F65A7 #A72FA1 #A7712F #2FA735
square
#2F65A7 #A72FA1 #A7712F #2FA735
split-complementary
#2F65A7 #A7352F #A1A72F
monochromatic
#142B47 #224877 #2F65A7 #4883CB #78A3D9

Accessibility & contrast

On white

5.93
#2F65A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F65A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65A7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A7#FFFFFF#000000##FFFFFF
##2F65A71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f65a7;
/* rgb */ color: rgb(47, 101, 167);
/* oklch */ color: oklch(50.4% 0.120 254.9);
Tailwind
colors: {
  custom: {
    50: '#7790c1',
    500: '#2f65a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a7;
$custom-light: #7790c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a7",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 167
  },
  "hsl": {
    "h": 213,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.12008,
    "h": 254.9
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#2F65A7
secondary
#C19D71
accent
#9B48DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F65A7

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

Preview Lab → · Contrast checker → · Palette generator →

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