#2D6F9B#2D6F9B

#2D6F9B is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.096 H 241.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2D6F9B
RGBrgb(45, 111, 155)
HSLhsl(204, 55%, 39%)
HSVhsv(204, 71%, 61%)
CMYKcmyk(71%, 28.4%, 0%, 39.2%)
CIE-LABlab(44.65, -5.93, -29.90)
CIE-LCHlch(44.65, 30.49, 258.79°)
OKLaboklab(51.99% -0.0461 -0.0844)
OKLCHoklch(51.99% 0.096 241.3)
XYZxyz(12.6807, 14.2919, 33.0943)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F9B #9B592D
analogous
#2D9B90 #2D6F9B #2D389B
triadic
#2D6F9B #9B2D6F #6F9B2D
tetradic
#2D6F9B #902D9B #9B592D #389B2D
square
#2D6F9B #902D9B #9B592D #389B2D
split-complementary
#2D6F9B #9B2D38 #9B902D
monochromatic
#112B3C #1F4D6C #2D6F9B #3E90C7 #6EACD5

Accessibility & contrast

On white

5.44
#2D6F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2D6F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F9B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F9B#FFFFFF#000000##FFFFFF
##2D6F9B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709D
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6f9b;
/* rgb */ color: rgb(45, 111, 155);
/* oklch */ color: oklch(52.0% 0.096 241.3);
Tailwind
colors: {
  custom: {
    50: '#7498b8',
    500: '#2d6f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f9b;
$custom-light: #7498b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f9b",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 155
  },
  "hsl": {
    "h": 204,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.09617,
    "h": 241.3
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#2D6F9B
secondary
#BC8A68
accent
#8549DE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2D6F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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