#2F7495#2F7495

#2F7495 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.0% C 0.086 H 232.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F7495
RGBrgb(47, 116, 149)
HSLhsl(199, 52%, 38%)
HSVhsv(199, 68%, 58%)
CMYKcmyk(68.5%, 22.1%, 0%, 41.6%)
CIE-LABlab(45.99, -10.66, -24.26)
CIE-LCHlch(45.99, 26.49, 246.29°)
OKLaboklab(52.98% -0.0523 -0.068)
OKLCHoklch(52.98% 0.086 232.4)
XYZxyz(12.8404, 15.2637, 30.6974)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7495 #95502F
analogous
#2F9583 #2F7495 #2F4195
triadic
#2F7495 #952F74 #74952F
tetradic
#2F7495 #832F95 #95502F #41952F
square
#2F7495 #832F95 #95502F #41952F
split-complementary
#2F7495 #952F41 #95832F
monochromatic
#122C38 #205066 #2F7495 #3F98C2 #6DB1D1

Accessibility & contrast

On white

5.18
#2F7495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F7495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7495
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7495#FFFFFF#000000##FFFFFF
##2F74951.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647397
Deuteranopia (green-blind)
#566895
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7495;
/* rgb */ color: rgb(47, 116, 149);
/* oklch */ color: oklch(53.0% 0.086 232.4);
Tailwind
colors: {
  custom: {
    50: '#749cb4',
    500: '#2f7495',
    950: '#000000',
  },
}
SCSS
$custom: #2f7495;
$custom-light: #749cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7495",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 149
  },
  "hsl": {
    "h": 199.412,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.08582,
    "h": 232.4
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#2F7495
secondary
#B88267
accent
#7B4CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7495

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

Preview Lab → · Contrast checker → · Palette generator →

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