#2B5F9A#2B5F9A

#2B5F9A is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.111 H 253.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2B5F9A
RGBrgb(43, 95, 154)
HSLhsl(212, 56%, 39%)
HSVhsv(212, 72%, 60%)
CMYKcmyk(72.1%, 38.3%, 0%, 39.6%)
CIE-LABlab(39.63, 3.27, -37.22)
CIE-LCHlch(39.63, 37.37, 275.03°)
OKLaboklab(48% -0.0314 -0.106)
OKLCHoklch(48% 0.111 253.5)
XYZxyz(10.9190, 11.0299, 32.1191)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F9A #9A662B
analogous
#2B969A #2B5F9A #2E2B9A
triadic
#2B5F9A #9A2B5F #5F9A2B
tetradic
#2B5F9A #9A2B96 #9A662B #2B9A2E
square
#2B5F9A #9A2B96 #9A662B #2B9A2E
split-complementary
#2B5F9A #9A2E2B #969A2B
monochromatic
#10243A #1E416A #2B5F9A #3A7DC8 #6A9CD5

Accessibility & contrast

On white

6.55
#2B5F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B5F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F9A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F9A#FFFFFF#000000##FFFFFF
##2B5F9A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#335999
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5f9a;
/* rgb */ color: rgb(43, 95, 154);
/* oklch */ color: oklch(48.0% 0.111 253.5);
Tailwind
colors: {
  custom: {
    50: '#728cb8',
    500: '#2b5f9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f9a;
$custom-light: #728cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f9a",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 154
  },
  "hsl": {
    "h": 211.892,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.1105,
    "h": 253.5
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#2B5F9A
secondary
#BC9365
accent
#9948E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2B5F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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