#2F65A1#2F65A1

#2F65A1 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 50.0% C 0.112 H 253.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F65A1
RGBrgb(47, 101, 161)
HSLhsl(212, 55%, 41%)
HSVhsv(212, 71%, 63%)
CMYKcmyk(70.8%, 37.3%, 0%, 36.9%)
CIE-LABlab(41.97, 2.72, -37.66)
CIE-LCHlch(41.97, 37.76, 274.13°)
OKLaboklab(50% -0.0327 -0.1071)
OKLCHoklch(50% 0.112 253)
XYZxyz(12.2566, 12.4836, 35.4749)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65A1 #A16B2F
analogous
#2F9EA1 #2F65A1 #322FA1
triadic
#2F65A1 #A12F65 #65A12F
tetradic
#2F65A1 #A12F9E #A16B2F #2FA132
square
#2F65A1 #A12F9E #A16B2F #2FA132
split-complementary
#2F65A1 #A1322F #9EA12F
monochromatic
#132A42 #214772 #2F65A1 #4583C9 #74A3D6

Accessibility & contrast

On white

6.01
#2F65A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F65A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65A1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65A1#FFFFFF#000000##FFFFFF
##2F65A11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A3
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f65a1;
/* rgb */ color: rgb(47, 101, 161);
/* oklch */ color: oklch(50.0% 0.112 253.0);
Tailwind
colors: {
  custom: {
    50: '#7590bd',
    500: '#2f65a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f65a1;
$custom-light: #7590bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65a1",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 161
  },
  "hsl": {
    "h": 211.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.11199,
    "h": 253
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#2F65A1
secondary
#BE986E
accent
#984ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2F65A1

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

Preview Lab → · Contrast checker → · Palette generator →

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