#2F6DB9#2F6DB9

#2F6DB9 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.135 H 255.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB9
RGBrgb(47, 109, 185)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(74.6%, 41.1%, 0%, 27.5%)
CIE-LABlab(45.69, 6.63, -45.83)
CIE-LCHlch(45.69, 46.31, 278.24°)
OKLaboklab(53.34% -0.0345 -0.1309)
OKLCHoklch(53.34% 0.135 255.2)
XYZxyz(15.3946, 15.0427, 47.9817)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB9 #B97B2F
analogous
#2FB2B9 #2F6DB9 #362FB9
triadic
#2F6DB9 #B92F6D #6DB92F
tetradic
#2F6DB9 #B92FB2 #B97B2F #2FB936
square
#2F6DB9 #B92FB2 #B97B2F #2FB936
split-complementary
#2F6DB9 #B9362F #B2B92F
monochromatic
#163357 #235088 #2F6DB9 #528CD3 #83ADDF

Accessibility & contrast

On white

5.24
#2F6DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F6DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB9#FFFFFF#000000##FFFFFF
##2F6DB91.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BC
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6db9;
/* rgb */ color: rgb(47, 109, 185);
/* oklch */ color: oklch(53.3% 0.135 255.2);
Tailwind
colors: {
  custom: {
    50: '#7a96ce',
    500: '#2f6db9',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db9;
$custom-light: #7a96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db9",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 185
  },
  "hsl": {
    "h": 213.043,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.13539,
    "h": 255.2
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#2F6DB9
secondary
#C9A67B
accent
#9C45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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