#2B5F7F#2B5F7F

#2B5F7F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.076 H 238.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2B5F7F
RGBrgb(43, 95, 127)
HSLhsl(203, 49%, 33%)
HSVhsv(203, 66%, 50%)
CMYKcmyk(66.1%, 25.2%, 0%, 50.2%)
CIE-LABlab(38.25, -6.64, -23.07)
CIE-LCHlch(38.25, 24.01, 253.94°)
OKLaboklab(46.46% -0.0398 -0.0648)
OKLCHoklch(46.46% 0.076 238.4)
XYZxyz(8.9178, 10.2294, 21.5791)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F7F #7F4B2B
analogous
#2B7F75 #2B5F7F #2B357F
triadic
#2B5F7F #7F2B5F #5F7F2B
tetradic
#2B5F7F #752B7F #7F4B2B #357F2B
square
#2B5F7F #752B7F #7F4B2B #357F2B
split-complementary
#2B5F7F #7F2B35 #7F752B
monochromatic
#0C1B24 #1C3D51 #2B5F7F #3A81AD #5C9FC8

Accessibility & contrast

On white

6.89
#2B5F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B5F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F7F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F7F#FFFFFF#000000##FFFFFF
##2B5F7F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5f7f;
/* rgb */ color: rgb(43, 95, 127);
/* oklch */ color: oklch(46.5% 0.076 238.4);
Tailwind
colors: {
  custom: {
    50: '#6e8ca4',
    500: '#2b5f7f',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f7f;
$custom-light: #6e8ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f7f",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 202.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.07602,
    "h": 238.4
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#2B5F7F
secondary
#AE7958
accent
#834FD9
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2B5F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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