#2F7498#2F7498

#2F7498 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.1% C 0.089 H 234.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F7498
RGBrgb(47, 116, 152)
HSLhsl(201, 53%, 39%)
HSVhsv(201, 69%, 60%)
CMYKcmyk(69.1%, 23.7%, 0%, 40.4%)
CIE-LABlab(46.12, -9.61, -25.83)
CIE-LCHlch(46.12, 27.56, 249.58°)
OKLaboklab(53.13% -0.0512 -0.0725)
OKLCHoklch(53.13% 0.089 234.8)
XYZxyz(13.0830, 15.3607, 31.9751)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7498 #98532F
analogous
#2F9888 #2F7498 #2F4098
triadic
#2F7498 #982F74 #74982F
tetradic
#2F7498 #882F98 #98532F #40982F
square
#2F7498 #882F98 #98532F #40982F
split-complementary
#2F7498 #982F40 #98882F
monochromatic
#122D3B #215069 #2F7498 #4097C4 #6FB0D2

Accessibility & contrast

On white

5.16
#2F7498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F7498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7498
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7498#FFFFFF#000000##FFFFFF
##2F74981.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#546997
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7498;
/* rgb */ color: rgb(47, 116, 152);
/* oklch */ color: oklch(53.1% 0.089 234.8);
Tailwind
colors: {
  custom: {
    50: '#749cb6',
    500: '#2f7498',
    950: '#000000',
  },
}
SCSS
$custom: #2f7498;
$custom-light: #749cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7498",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 200.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.08879,
    "h": 234.8
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#2F7498
secondary
#BA8569
accent
#7D4CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7498

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

Preview Lab → · Contrast checker → · Palette generator →

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