#2B5F8A#2B5F8A

#2B5F8A is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.089 H 246.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2B5F8A
RGBrgb(43, 95, 138)
HSLhsl(207, 52%, 35%)
HSVhsv(207, 69%, 54%)
CMYKcmyk(68.8%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.78, -2.67, -28.93)
CIE-LCHlch(38.78, 29.05, 264.72°)
OKLaboklab(47.06% -0.036 -0.0817)
OKLCHoklch(47.06% 0.089 246.2)
XYZxyz(9.6742, 10.5320, 25.5629)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F8A #8A562B
analogous
#2B8A85 #2B5F8A #2B2F8A
triadic
#2B5F8A #8A2B5F #5F8A2B
tetradic
#2B5F8A #852B8A #8A562B #2F8A2B
square
#2B5F8A #852B8A #8A562B #2F8A2B
split-complementary
#2B5F8A #8A2B2F #8A852B
monochromatic
#0E1F2D #1C3F5B #2B5F8A #3A7FB9 #619DCE

Accessibility & contrast

On white

6.76
#2B5F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B5F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F8A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F8A#FFFFFF#000000##FFFFFF
##2B5F8A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5f8a;
/* rgb */ color: rgb(43, 95, 138);
/* oklch */ color: oklch(47.1% 0.089 246.2);
Tailwind
colors: {
  custom: {
    50: '#6f8cac',
    500: '#2b5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f8a;
$custom-light: #6f8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f8a",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 207.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.08933,
    "h": 246.2
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#2B5F8A
secondary
#B4845D
accent
#8D4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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