#2F75B2#2F75B2

#2F75B2 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.118 H 248.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F75B2
RGBrgb(47, 117, 178)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 74%, 70%)
CMYKcmyk(73.6%, 34.3%, 0%, 30.2%)
CIE-LABlab(47.67, -0.90, -38.62)
CIE-LCHlch(47.67, 38.63, 268.67°)
OKLaboklab(54.76% -0.0438 -0.1097)
OKLCHoklch(54.76% 0.118 248.2)
XYZxyz(15.5664, 16.5395, 44.4829)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F75B2 #B26C2F
analogous
#2FB2AE #2F75B2 #2F34B2
triadic
#2F75B2 #B22F75 #75B22F
tetradic
#2F75B2 #AE2FB2 #B26C2F #34B22F
square
#2F75B2 #AE2FB2 #B26C2F #34B22F
split-complementary
#2F75B2 #B22F34 #B2AE2F
monochromatic
#153551 #225582 #2F75B2 #4E94D0 #7EB1DD

Accessibility & contrast

On white

4.87
#2F75B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F75B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F75B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F75B2#FFFFFF#000000##FFFFFF
##2F75B21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#466CB1
Tritanopia (blue-blind)
#00848B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f75b2;
/* rgb */ color: rgb(47, 117, 178);
/* oklch */ color: oklch(54.8% 0.118 248.2);
Tailwind
colors: {
  custom: {
    50: '#799cc9',
    500: '#2f75b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f75b2;
$custom-light: #799cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f75b2",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 207.939,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.11809,
    "h": 248.2
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#2F75B2
secondary
#C69C77
accent
#8F46E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F75B2

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

Preview Lab → · Contrast checker → · Palette generator →

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