#2B5F7B#2B5F7B

#2B5F7B is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.072 H 234.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2B5F7B
RGBrgb(43, 95, 123)
HSLhsl(201, 48%, 33%)
HSVhsv(201, 65%, 48%)
CMYKcmyk(65%, 22.8%, 0%, 51.8%)
CIE-LABlab(38.07, -8.05, -20.91)
CIE-LCHlch(38.07, 22.40, 248.94°)
OKLaboklab(46.26% -0.0413 -0.0586)
OKLCHoklch(46.26% 0.072 234.8)
XYZxyz(8.6622, 10.1272, 20.2333)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F7B #7B472B
analogous
#2B7B6F #2B5F7B #2B377B
triadic
#2B5F7B #7B2B5F #5F7B2B
tetradic
#2B5F7B #6F2B7B #7B472B #377B2B
square
#2B5F7B #6F2B7B #7B472B #377B2B
split-complementary
#2B5F7B #7B2B37 #7B6F2B
monochromatic
#0B1920 #1B3C4E #2B5F7B #3B82A8 #5BA0C6

Accessibility & contrast

On white

6.94
#2B5F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2B5F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F7B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F7B#FFFFFF#000000##FFFFFF
##2B5F7B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7C
Deuteranopia (green-blind)
#47567B
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5f7b;
/* rgb */ color: rgb(43, 95, 123);
/* oklch */ color: oklch(46.3% 0.072 234.8);
Tailwind
colors: {
  custom: {
    50: '#6d8ca1',
    500: '#2b5f7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f7b;
$custom-light: #6d8ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f7b",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 201,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4626,
    "c": 0.07165,
    "h": 234.8
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#2B5F7B
secondary
#AB7456
accent
#8050D8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0F
muted
#7B7D7E

Preview Lab

Preview with #2B5F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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