#2F65C2#2F65C2

#2F65C2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.2% C 0.157 H 260.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F65C2
RGBrgb(47, 101, 194)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(75.8%, 47.9%, 0%, 23.9%)
CIE-LABlab(43.95, 15.11, -53.84)
CIE-LCHlch(43.95, 55.92, 285.68°)
OKLaboklab(52.17% -0.0259 -0.1546)
OKLCHoklch(52.17% 0.157 260.5)
XYZxyz(15.5601, 13.8050, 52.8730)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65C2 #C28C2F
analogous
#2FAFC2 #2F65C2 #422FC2
triadic
#2F65C2 #C22F65 #65C22F
tetradic
#2F65C2 #C22FAF #C28C2F #2FC242
square
#2F65C2 #C22FAF #C28C2F #2FC242
split-complementary
#2F65C2 #C2422F #AFC22F
monochromatic
#17325F #234B91 #2F65C2 #5886D6 #89AAE2

Accessibility & contrast

On white

5.58
#2F65C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2F65C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65C2#FFFFFF#000000##FFFFFF
##2F65C21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f65c2;
/* rgb */ color: rgb(47, 101, 194);
/* oklch */ color: oklch(52.2% 0.157 260.5);
Tailwind
colors: {
  custom: {
    50: '#7c90d5',
    500: '#2f65c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f65c2;
$custom-light: #7c90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65c2",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 217.959,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.15677,
    "h": 260.5
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F65C2

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

Preview Lab → · Contrast checker → · Palette generator →

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