#2F7295#2F7295

#2F7295 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.5% C 0.087 H 234.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F7295
RGBrgb(47, 114, 149)
HSLhsl(201, 52%, 38%)
HSVhsv(201, 68%, 58%)
CMYKcmyk(68.5%, 23.5%, 0%, 41.6%)
CIE-LABlab(45.37, -9.49, -25.23)
CIE-LCHlch(45.37, 26.95, 249.37°)
OKLaboklab(52.49% -0.0501 -0.0708)
OKLCHoklch(52.49% 0.087 234.7)
XYZxyz(12.6123, 14.8075, 30.6214)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7295 #95522F
analogous
#2F9585 #2F7295 #2F3F95
triadic
#2F7295 #952F72 #72952F
tetradic
#2F7295 #852F95 #95522F #3F952F
square
#2F7295 #852F95 #95522F #3F952F
split-complementary
#2F7295 #952F3F #95852F
monochromatic
#122B38 #204E66 #2F7295 #3F95C2 #6DAFD1

Accessibility & contrast

On white

5.30
#2F7295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F7295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7295
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7295#FFFFFF#000000##FFFFFF
##2F72951.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617197
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7295;
/* rgb */ color: rgb(47, 114, 149);
/* oklch */ color: oklch(52.5% 0.087 234.7);
Tailwind
colors: {
  custom: {
    50: '#749ab4',
    500: '#2f7295',
    950: '#000000',
  },
}
SCSS
$custom: #2f7295;
$custom-light: #749ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7295",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 149
  },
  "hsl": {
    "h": 200.588,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.08677,
    "h": 234.7
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#2F7295
secondary
#B88367
accent
#7D4CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7295

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

Preview Lab → · Contrast checker → · Palette generator →

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