#2F598D#2F598D

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

Color values

HEX#2F598D
RGBrgb(47, 89, 141)
HSLhsl(213, 50%, 37%)
HSVhsv(213, 67%, 55%)
CMYKcmyk(66.7%, 36.9%, 0%, 44.7%)
CIE-LABlab(37.25, 2.94, -33.16)
CIE-LCHlch(37.25, 33.29, 275.08°)
OKLaboklab(45.95% -0.0255 -0.0941)
OKLCHoklch(45.95% 0.097 254.8)
XYZxyz(9.5506, 9.6712, 26.5576)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F598D #8D632F
analogous
#2F888D #2F598D #342F8D
triadic
#2F598D #8D2F59 #598D2F
tetradic
#2F598D #8D2F88 #8D632F #2F8D34
square
#2F598D #8D2F88 #8D632F #2F8D34
split-complementary
#2F598D #8D342F #888D2F
monochromatic
#101F31 #203C5F #2F598D #3E76BB #6996CD

Accessibility & contrast

On white

7.16
#2F598D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F598D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F598D#FFFFFF#000000##FFFFFF
##2F598D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f598d;
/* rgb */ color: rgb(47, 89, 141);
/* oklch */ color: oklch(45.9% 0.097 254.8);
Tailwind
colors: {
  custom: {
    50: '#7287ae',
    500: '#2f598d',
    950: '#000000',
  },
}
SCSS
$custom: #2f598d;
$custom-light: #7287ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f598d",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 141
  },
  "hsl": {
    "h": 213.191,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.09748,
    "h": 254.8
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#2F598D
secondary
#B49064
accent
#9B4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F598D

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

Preview Lab → · Contrast checker → · Palette generator →

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