#2F629C#2F629C

#2F629C is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 49.0% C 0.108 H 253.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2F629C
RGBrgb(47, 98, 156)
HSLhsl(212, 54%, 40%)
HSVhsv(212, 70%, 61%)
CMYKcmyk(69.9%, 37.2%, 0%, 38.8%)
CIE-LABlab(40.80, 2.76, -36.56)
CIE-LCHlch(40.80, 36.66, 274.31°)
OKLaboklab(48.99% -0.031 -0.1039)
OKLCHoklch(48.99% 0.108 253.4)
XYZxyz(11.5385, 11.7388, 33.1038)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F629C #9C692F
analogous
#2F989C #2F629C #332F9C
triadic
#2F629C #9C2F62 #629C2F
tetradic
#2F629C #9C2F98 #9C692F #2F9C33
square
#2F629C #9C2F98 #9C692F #2F9C33
split-complementary
#2F629C #9C332F #989C2F
monochromatic
#13273E #21446D #2F629C #4280C6 #71A0D4

Accessibility & contrast

On white

6.27
#2F629C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2F629C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F629C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F629C#FFFFFF#000000##FFFFFF
##2F629C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48669E
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f629c;
/* rgb */ color: rgb(47, 98, 156);
/* oklch */ color: oklch(49.0% 0.108 253.4);
Tailwind
colors: {
  custom: {
    50: '#748eb9',
    500: '#2f629c',
    950: '#000000',
  },
}
SCSS
$custom: #2f629c;
$custom-light: #748eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f629c",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 156
  },
  "hsl": {
    "h": 211.927,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.10843,
    "h": 253.4
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#2F629C
secondary
#BC966B
accent
#994BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F629C

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

Preview Lab → · Contrast checker → · Palette generator →

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