#2F598B#2F598B

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

Color values

HEX#2F598B
RGBrgb(47, 89, 139)
HSLhsl(213, 49%, 36%)
HSVhsv(213, 66%, 55%)
CMYKcmyk(66.2%, 36%, 0%, 45.5%)
CIE-LABlab(37.14, 2.21, -32.11)
CIE-LCHlch(37.14, 32.19, 273.94°)
OKLaboklab(45.83% -0.026 -0.091)
OKLCHoklch(45.83% 0.095 254)
XYZxyz(9.4032, 9.6123, 25.7809)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F598B #8B612F
analogous
#2F878B #2F598B #332F8B
triadic
#2F598B #8B2F59 #598B2F
tetradic
#2F598B #8B2F87 #8B612F #2F8B33
square
#2F598B #8B2F87 #8B612F #2F8B33
split-complementary
#2F598B #8B332F #878B2F
monochromatic
#101E30 #203C5D #2F598B #3E76B9 #6896CC

Accessibility & contrast

On white

7.19
#2F598B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F598B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F598B#FFFFFF#000000##FFFFFF
##2F598B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#37538A
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f598b;
/* rgb */ color: rgb(47, 89, 139);
/* oklch */ color: oklch(45.8% 0.095 254.0);
Tailwind
colors: {
  custom: {
    50: '#7187ad',
    500: '#2f598b',
    950: '#000000',
  },
}
SCSS
$custom: #2f598b;
$custom-light: #7187ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f598b",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 139
  },
  "hsl": {
    "h": 212.609,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.09469,
    "h": 254
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#2F598B
secondary
#B38E63
accent
#9A4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F598B

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

Preview Lab → · Contrast checker → · Palette generator →

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