#2F65A8#2F65A8

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

Color values

HEX#2F65A8
RGBrgb(47, 101, 168)
HSLhsl(213, 56%, 42%)
HSVhsv(213, 72%, 66%)
CMYKcmyk(72%, 39.9%, 0%, 34.1%)
CIE-LABlab(42.37, 5.32, -41.18)
CIE-LCHlch(42.37, 41.53, 277.36°)
OKLaboklab(50.43% -0.031 -0.1174)
OKLCHoklch(50.43% 0.121 255.2)
XYZxyz(12.8913, 12.7375, 38.8174)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A8 #A8722F
analogous
#2FA2A8 #2F65A8 #352FA8
triadic
#2F65A8 #A82F65 #65A82F
tetradic
#2F65A8 #A82FA2 #A8722F #2FA835
square
#2F65A8 #A82FA2 #A8722F #2FA835
split-complementary
#2F65A8 #A8352F #A2A82F
monochromatic
#142C48 #224878 #2F65A8 #4883CC #78A3D9

Accessibility & contrast

On white

5.92
#2F65A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F65A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65A8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A8#FFFFFF#000000##FFFFFF
##2F65A81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f65a8;
/* rgb */ color: rgb(47, 101, 168);
/* oklch */ color: oklch(50.4% 0.121 255.2);
Tailwind
colors: {
  custom: {
    50: '#7790c2',
    500: '#2f65a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a8;
$custom-light: #7790c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a8",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 168
  },
  "hsl": {
    "h": 213.223,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.12143,
    "h": 255.2
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#2F65A8
secondary
#C19E71
accent
#9C48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F65A8

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

Preview Lab → · Contrast checker → · Palette generator →

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