#2F598A#2F598A

#2F598A is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.093 H 253.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2F598A
RGBrgb(47, 89, 138)
HSLhsl(212, 49%, 36%)
HSVhsv(212, 66%, 54%)
CMYKcmyk(65.9%, 35.5%, 0%, 45.9%)
CIE-LABlab(37.08, 1.84, -31.59)
CIE-LCHlch(37.08, 31.64, 273.34°)
OKLaboklab(45.77% -0.0263 -0.0895)
OKLCHoklch(45.77% 0.093 253.6)
XYZxyz(9.3304, 9.5832, 25.3978)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F598A #8A602F
analogous
#2F878A #2F598A #332F8A
triadic
#2F598A #8A2F59 #598A2F
tetradic
#2F598A #8A2F87 #8A602F #2F8A33
square
#2F598A #8A2F87 #8A602F #2F8A33
split-complementary
#2F598A #8A332F #878A2F
monochromatic
#101E2F #1F3C5C #2F598A #3F76B8 #6896CC

Accessibility & contrast

On white

7.20
#2F598A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F598A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F598A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F598A#FFFFFF#000000##FFFFFF
##2F598A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f598a;
/* rgb */ color: rgb(47, 89, 138);
/* oklch */ color: oklch(45.8% 0.093 253.6);
Tailwind
colors: {
  custom: {
    50: '#7187ac',
    500: '#2f598a',
    950: '#000000',
  },
}
SCSS
$custom: #2f598a;
$custom-light: #7187ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f598a",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 138
  },
  "hsl": {
    "h": 212.308,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.0933,
    "h": 253.6
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#2F598A
secondary
#B38D62
accent
#994FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F598A

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

Preview Lab → · Contrast checker → · Palette generator →

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