#2F65A5#2F65A5

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

Color values

HEX#2F65A5
RGBrgb(47, 101, 165)
HSLhsl(213, 56%, 42%)
HSVhsv(213, 72%, 65%)
CMYKcmyk(71.5%, 38.8%, 0%, 35.3%)
CIE-LABlab(42.20, 4.20, -39.68)
CIE-LCHlch(42.20, 39.90, 276.05°)
OKLaboklab(50.25% -0.0317 -0.113)
OKLCHoklch(50.25% 0.117 254.3)
XYZxyz(12.6150, 12.6270, 37.3624)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A5 #A56F2F
analogous
#2FA0A5 #2F65A5 #342FA5
triadic
#2F65A5 #A52F65 #65A52F
tetradic
#2F65A5 #A52FA0 #A56F2F #2FA534
square
#2F65A5 #A52FA0 #A56F2F #2FA534
split-complementary
#2F65A5 #A5342F #A0A52F
monochromatic
#142B46 #214875 #2F65A5 #4783CB #76A3D8

Accessibility & contrast

On white

5.96
#2F65A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F65A5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A5#FFFFFF#000000##FFFFFF
##2F65A51.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#365FA4
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f65a5;
/* rgb */ color: rgb(47, 101, 165);
/* oklch */ color: oklch(50.2% 0.117 254.3);
Tailwind
colors: {
  custom: {
    50: '#7690c0',
    500: '#2f65a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a5;
$custom-light: #7690c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a5",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 165
  },
  "hsl": {
    "h": 212.542,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.11738,
    "h": 254.3
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#2F65A5
secondary
#C09B70
accent
#9A49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F65A5

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

Preview Lab → · Contrast checker → · Palette generator →

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