#2B5F8F#2B5F8F

#2B5F8F is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.096 H 248.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B5F8F
RGBrgb(43, 95, 143)
HSLhsl(209, 54%, 36%)
HSVhsv(209, 70%, 56%)
CMYKcmyk(69.9%, 33.6%, 0%, 43.9%)
CIE-LABlab(39.04, -0.83, -31.55)
CIE-LCHlch(39.04, 31.56, 268.49°)
OKLaboklab(47.34% -0.0344 -0.0894)
OKLCHoklch(47.34% 0.096 248.9)
XYZxyz(10.0445, 10.6801, 27.5134)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F8F #8F5B2B
analogous
#2B8F8D #2B5F8F #2B2D8F
triadic
#2B5F8F #8F2B5F #5F8F2B
tetradic
#2B5F8F #8D2B8F #8F5B2B #2D8F2B
square
#2B5F8F #8D2B8F #8F5B2B #2D8F2B
split-complementary
#2B5F8F #8F2B2D #8F8D2B
monochromatic
#0F2031 #1D4060 #2B5F8F #397EBE #649CD0

Accessibility & contrast

On white

6.70
#2B5F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B5F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F8F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F8F#FFFFFF#000000##FFFFFF
##2B5F8F1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5f8f;
/* rgb */ color: rgb(43, 95, 143);
/* oklch */ color: oklch(47.3% 0.096 248.9);
Tailwind
colors: {
  custom: {
    50: '#708cb0',
    500: '#2b5f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f8f;
$custom-light: #708cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f8f",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 208.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.09579,
    "h": 248.9
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#2B5F8F
secondary
#B7895F
accent
#914BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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