#2F6498#2F6498

#2F6498 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.2% C 0.101 H 250.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2F6498
RGBrgb(47, 100, 152)
HSLhsl(210, 53%, 39%)
HSVhsv(210, 69%, 60%)
CMYKcmyk(69.1%, 34.2%, 0%, 40.4%)
CIE-LABlab(41.19, 0.03, -33.55)
CIE-LCHlch(41.19, 33.55, 270.05°)
OKLaboklab(49.23% -0.0342 -0.0951)
OKLCHoklch(49.23% 0.101 250.2)
XYZxyz(11.3949, 11.9845, 31.4124)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6498 #98632F
analogous
#2F9898 #2F6498 #2F3098
triadic
#2F6498 #982F64 #64982F
tetradic
#2F6498 #982F98 #98632F #30982F
square
#2F6498 #982F98 #98632F #30982F
split-complementary
#2F6498 #982F30 #98982F
monochromatic
#12263B #214569 #2F6498 #4083C4 #6FA1D2

Accessibility & contrast

On white

6.18
#2F6498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2F6498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6498
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6498#FFFFFF#000000##FFFFFF
##2F64981.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679A
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6498;
/* rgb */ color: rgb(47, 100, 152);
/* oklch */ color: oklch(49.2% 0.101 250.2);
Tailwind
colors: {
  custom: {
    50: '#748fb6',
    500: '#2f6498',
    950: '#000000',
  },
}
SCSS
$custom: #2f6498;
$custom-light: #748fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6498",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 152
  },
  "hsl": {
    "h": 209.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.10105,
    "h": 250.2
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#2F6498
secondary
#BA9169
accent
#934CDC
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2F6498

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

Preview Lab → · Contrast checker → · Palette generator →

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