#2F75B3#2F75B3

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

Color values

HEX#2F75B3
RGBrgb(47, 117, 179)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 74%, 70%)
CMYKcmyk(73.7%, 34.6%, 0%, 29.8%)
CIE-LABlab(47.73, -0.53, -39.12)
CIE-LCHlch(47.73, 39.12, 269.22°)
OKLaboklab(54.82% -0.0435 -0.1111)
OKLCHoklch(54.82% 0.119 248.6)
XYZxyz(15.6672, 16.5798, 45.0136)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F75B3 #B36D2F
analogous
#2FB3AF #2F75B3 #2F33B3
triadic
#2F75B3 #B32F75 #75B32F
tetradic
#2F75B3 #AF2FB3 #B36D2F #33B32F
square
#2F75B3 #AF2FB3 #B36D2F #33B32F
split-complementary
#2F75B3 #B32F33 #B3AF2F
monochromatic
#163652 #225583 #2F75B3 #4F94D1 #7FB1DD

Accessibility & contrast

On white

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

On black

4.32
#2F75B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F75B3#FFFFFF#000000##FFFFFF
##2F75B31.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f75b3;
/* rgb */ color: rgb(47, 117, 179);
/* oklch */ color: oklch(54.8% 0.119 248.6);
Tailwind
colors: {
  custom: {
    50: '#799cca',
    500: '#2f75b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f75b3;
$custom-light: #799cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f75b3",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 179
  },
  "hsl": {
    "h": 208.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.11934,
    "h": 248.6
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#2F75B3
secondary
#C69D78
accent
#8F46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F75B3

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

Preview Lab → · Contrast checker → · Palette generator →

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