#2F7396#2F7396

#2F7396 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.8% C 0.087 H 234.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F7396
RGBrgb(47, 115, 150)
HSLhsl(200, 52%, 39%)
HSVhsv(200, 69%, 59%)
CMYKcmyk(68.7%, 23.3%, 0%, 41.2%)
CIE-LABlab(45.73, -9.73, -25.26)
CIE-LCHlch(45.73, 27.07, 248.94°)
OKLaboklab(52.78% -0.0508 -0.0709)
OKLCHoklch(52.78% 0.087 234.4)
XYZxyz(12.8059, 15.0664, 31.0815)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7396 #96522F
analogous
#2F9685 #2F7396 #2F4096
triadic
#2F7396 #962F73 #73962F
tetradic
#2F7396 #852F96 #96522F #40962F
square
#2F7396 #852F96 #96522F #40962F
split-complementary
#2F7396 #962F40 #96852F
monochromatic
#122C39 #204F67 #2F7396 #3F96C3 #6EB0D2

Accessibility & contrast

On white

5.23
#2F7396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F7396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7396
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7396#FFFFFF#000000##FFFFFF
##2F73961.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627298
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7396;
/* rgb */ color: rgb(47, 115, 150);
/* oklch */ color: oklch(52.8% 0.087 234.4);
Tailwind
colors: {
  custom: {
    50: '#749bb5',
    500: '#2f7396',
    950: '#000000',
  },
}
SCSS
$custom: #2f7396;
$custom-light: #749bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7396",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 150
  },
  "hsl": {
    "h": 200.388,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.08727,
    "h": 234.4
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7396

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

Preview Lab → · Contrast checker → · Palette generator →

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