#2F598C#2F598C

#2F598C is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.096 H 254.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2F598C
RGBrgb(47, 89, 140)
HSLhsl(213, 50%, 37%)
HSVhsv(213, 66%, 55%)
CMYKcmyk(66.4%, 36.4%, 0%, 45.1%)
CIE-LABlab(37.19, 2.58, -32.64)
CIE-LCHlch(37.19, 32.74, 274.52°)
OKLaboklab(45.89% -0.0258 -0.0926)
OKLCHoklch(45.89% 0.096 254.4)
XYZxyz(9.4766, 9.6416, 26.1675)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F598C #8C622F
analogous
#2F888C #2F598C #332F8C
triadic
#2F598C #8C2F59 #598C2F
tetradic
#2F598C #8C2F88 #8C622F #2F8C33
square
#2F598C #8C2F88 #8C622F #2F8C33
split-complementary
#2F598C #8C332F #888C2F
monochromatic
#101F30 #203C5E #2F598C #3E76BA #6996CD

Accessibility & contrast

On white

7.17
#2F598C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F598C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F598C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F598C#FFFFFF#000000##FFFFFF
##2F598C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8E
Deuteranopia (green-blind)
#36548B
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f598c;
/* rgb */ color: rgb(47, 89, 140);
/* oklch */ color: oklch(45.9% 0.096 254.4);
Tailwind
colors: {
  custom: {
    50: '#7187ae',
    500: '#2f598c',
    950: '#000000',
  },
}
SCSS
$custom: #2f598c;
$custom-light: #7187ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f598c",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 140
  },
  "hsl": {
    "h": 212.903,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.09609,
    "h": 254.4
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#2F598C
secondary
#B48F63
accent
#9B4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F598C

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

Preview Lab → · Contrast checker → · Palette generator →

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