#2F7394#2F7394

#2F7394 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.7% C 0.085 H 232.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2F7394
RGBrgb(47, 115, 148)
HSLhsl(200, 52%, 38%)
HSVhsv(200, 68%, 58%)
CMYKcmyk(68.2%, 22.3%, 0%, 42%)
CIE-LABlab(45.64, -10.42, -24.22)
CIE-LCHlch(45.64, 26.36, 246.71°)
OKLaboklab(52.68% -0.0516 -0.0679)
OKLCHoklch(52.68% 0.085 232.8)
XYZxyz(12.6462, 15.0026, 30.2405)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7394 #94502F
analogous
#2F9482 #2F7394 #2F4094
triadic
#2F7394 #942F73 #73942F
tetradic
#2F7394 #822F94 #94502F #40942F
square
#2F7394 #822F94 #94502F #40942F
split-complementary
#2F7394 #942F40 #94822F
monochromatic
#112B37 #204F66 #2F7394 #3E97C2 #6DB0D1

Accessibility & contrast

On white

5.25
#2F7394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F7394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7394
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7394#FFFFFF#000000##FFFFFF
##2F73941.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637296
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7394;
/* rgb */ color: rgb(47, 115, 148);
/* oklch */ color: oklch(52.7% 0.085 232.8);
Tailwind
colors: {
  custom: {
    50: '#749bb3',
    500: '#2f7394',
    950: '#000000',
  },
}
SCSS
$custom: #2f7394;
$custom-light: #749bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7394",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 148
  },
  "hsl": {
    "h": 199.604,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.08529,
    "h": 232.8
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#2F7394
secondary
#B88167
accent
#7B4DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7394

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

Preview Lab → · Contrast checker → · Palette generator →

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