#2F65A6#2F65A6

#2F65A6 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.3% C 0.119 H 254.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F65A6
RGBrgb(47, 101, 166)
HSLhsl(213, 56%, 42%)
HSVhsv(213, 72%, 65%)
CMYKcmyk(71.7%, 39.2%, 0%, 34.9%)
CIE-LABlab(42.25, 4.58, -40.18)
CIE-LCHlch(42.25, 40.44, 276.50°)
OKLaboklab(50.31% -0.0314 -0.1145)
OKLCHoklch(50.31% 0.119 254.6)
XYZxyz(12.7064, 12.6635, 37.8436)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A6 #A6702F
analogous
#2FA1A6 #2F65A6 #342FA6
triadic
#2F65A6 #A62F65 #65A62F
tetradic
#2F65A6 #A62FA1 #A6702F #2FA634
square
#2F65A6 #A62FA1 #A6702F #2FA634
split-complementary
#2F65A6 #A6342F #A1A62F
monochromatic
#142B47 #214876 #2F65A6 #4783CB #77A3D8

Accessibility & contrast

On white

5.94
#2F65A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F65A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65A6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A6#FFFFFF#000000##FFFFFF
##2F65A61.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#355FA5
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f65a6;
/* rgb */ color: rgb(47, 101, 166);
/* oklch */ color: oklch(50.3% 0.119 254.6);
Tailwind
colors: {
  custom: {
    50: '#7690c1',
    500: '#2f65a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a6;
$custom-light: #7690c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a6",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 166
  },
  "hsl": {
    "h": 212.773,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.11873,
    "h": 254.6
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#2F65A6
secondary
#C19C70
accent
#9B49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F65A6

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

Preview Lab → · Contrast checker → · Palette generator →

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