#2F74CA#2F74CA

#2F74CA is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.0% C 0.150 H 255.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F74CA
RGBrgb(47, 116, 202)
HSLhsl(213, 62%, 49%)
HSVhsv(213, 77%, 79%)
CMYKcmyk(76.7%, 42.6%, 0%, 20.8%)
CIE-LABlab(48.71, 8.62, -50.81)
CIE-LCHlch(48.71, 51.53, 279.63°)
OKLaboklab(56% -0.037 -0.1454)
OKLCHoklch(56% 0.15 255.7)
XYZxyz(18.0744, 17.3573, 58.2634)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F74CA #CA852F
analogous
#2FC2CA #2F74CA #372FCA
triadic
#2F74CA #CA2F74 #74CA2F
tetradic
#2F74CA #CA2FC2 #CA852F #2FCA37
square
#2F74CA #CA2FC2 #CA852F #2FCA37
split-complementary
#2F74CA #CA372F #C2CA2F
monochromatic
#183B67 #235798 #2F74CA #5D94D9 #8FB5E5

Accessibility & contrast

On white

4.70
#2F74CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F74CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F74CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F74CA#FFFFFF#000000##FFFFFF
##2F74CA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f74ca;
/* rgb */ color: rgb(47, 116, 202);
/* oklch */ color: oklch(56.0% 0.150 255.7);
Tailwind
colors: {
  custom: {
    50: '#7d9bdb',
    500: '#2f74ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f74ca;
$custom-light: #7d9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f74ca",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 213.29,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.15005,
    "h": 255.7
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#2F74CA
secondary
#CFAE86
accent
#9D42E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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