#2F65C1#2F65C1

#2F65C1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.1% C 0.155 H 260.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F65C1
RGBrgb(47, 101, 193)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(75.6%, 47.7%, 0%, 24.3%)
CIE-LABlab(43.89, 14.73, -53.36)
CIE-LCHlch(43.89, 55.36, 285.43°)
OKLaboklab(52.1% -0.0261 -0.1532)
OKLCHoklch(52.1% 0.155 260.3)
XYZxyz(15.4481, 13.7602, 52.2836)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65C1 #C18B2F
analogous
#2FAEC1 #2F65C1 #422FC1
triadic
#2F65C1 #C12F65 #65C12F
tetradic
#2F65C1 #C12FAE #C18B2F #2FC142
square
#2F65C1 #C12FAE #C18B2F #2FC142
split-complementary
#2F65C1 #C1422F #AEC12F
monochromatic
#17315F #234B90 #2F65C1 #5786D6 #88AAE2

Accessibility & contrast

On white

5.60
#2F65C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F65C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65C1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65C1#FFFFFF#000000##FFFFFF
##2F65C11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326FC4
Deuteranopia (green-blind)
#0361BF
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f65c1;
/* rgb */ color: rgb(47, 101, 193);
/* oklch */ color: oklch(52.1% 0.155 260.3);
Tailwind
colors: {
  custom: {
    50: '#7c90d4',
    500: '#2f65c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f65c1;
$custom-light: #7c90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65c1",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 193
  },
  "hsl": {
    "h": 217.808,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.521,
    "c": 0.15541,
    "h": 260.3
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#2F65C1
secondary
#CCB080
accent
#A944E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F65C1

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

Preview Lab → · Contrast checker → · Palette generator →

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