#2F638E#2F638E

#2F638E is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.4% C 0.089 H 246.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2F638E
RGBrgb(47, 99, 142)
HSLhsl(207, 50%, 37%)
HSVhsv(207, 67%, 56%)
CMYKcmyk(66.9%, 30.3%, 0%, 44.3%)
CIE-LABlab(40.38, -2.98, -28.83)
CIE-LCHlch(40.38, 28.99, 264.10°)
OKLaboklab(48.42% -0.0362 -0.0814)
OKLCHoklch(48.42% 0.089 246)
XYZxyz(10.5148, 11.4799, 27.2477)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F638E #8E5A2F
analogous
#2F8E8A #2F638E #2F338E
triadic
#2F638E #8E2F63 #638E2F
tetradic
#2F638E #8A2F8E #8E5A2F #338E2F
square
#2F638E #8A2F8E #8E5A2F #338E2F
split-complementary
#2F638E #8E2F33 #8E8A2F
monochromatic
#112332 #204360 #2F638E #3E83BC #6AA0CE

Accessibility & contrast

On white

6.37
#2F638E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2F638E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F638E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F638E#FFFFFF#000000##FFFFFF
##2F638E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506490
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f638e;
/* rgb */ color: rgb(47, 99, 142);
/* oklch */ color: oklch(48.4% 0.089 246.0);
Tailwind
colors: {
  custom: {
    50: '#728faf',
    500: '#2f638e',
    950: '#000000',
  },
}
SCSS
$custom: #2f638e;
$custom-light: #728faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f638e",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 142
  },
  "hsl": {
    "h": 207.158,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.08905,
    "h": 246
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#2F638E
secondary
#B58964
accent
#8D4EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #2F638E

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

Preview Lab → · Contrast checker → · Palette generator →

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